[Python-modules-commits] [jsonrpclib-pelix] 05/08: Misc fixes.

Tristan Seligmann mithrandi at moszumanska.debian.org
Mon Dec 11 13:09:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

mithrandi pushed a commit to branch master
in repository jsonrpclib-pelix.

commit ad39847d67da68374739de12d9342b771d2c31a8
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date:   Mon Dec 11 12:59:26 2017 +0200

    Misc fixes.
---
 debian/control | 187 +++------------------------------------------------------
 debian/rules   |   2 +-
 2 files changed, 9 insertions(+), 180 deletions(-)

diff --git a/debian/control b/debian/control
index 33433d2..c4e9de2 100644
--- a/debian/control
+++ b/debian/control
@@ -2,197 +2,26 @@ Source: jsonrpclib-pelix
 Section: python
 Priority: optional
 Maintainer: Tristan Seligmann <mithrandi at debian.org>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 9), dh-python,
-               python-all,
-               python-setuptools,
-               python3-all,
-               python3-setuptools,
-Standards-Version: 4.0.0
-Homepage: http://github.com/tcalmant/jsonrpclib/
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
+Build-Depends: debhelper (>= 9), dh-python, python3-all, python3-setuptools
+Standards-Version: 4.1.2
+Homepage: https://github.com/tcalmant/jsonrpclib/
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/jsonrpclib-pelix.git
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/jsonrpclib-pelix.git
 
-Package: python-jsonrpclib-pelix
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
-Recommends: ${python:Recommends}
-Suggests: ${python:Suggests}
-Description: This project is an implementation of the JSON-RPC v2.0 specification (backwards- - Python 2.X
- JSONRPClib (patched for Pelix and Python 3)
- ###########################################
- .
-  .. image:: https://img.shields.io/pypi/v/jsonrpclib-pelix.svg
-     :target: https://pypi.python.org/pypi/jsonrpclib-pelix/
-     :alt: Latest Version
- .
-  .. image:: https://img.shields.io/pypi/l/jsonrpclib-pelix.svg
-     :target: https://pypi.python.org/pypi/jsonrpclib-pelix/
-     :alt: License
- .
-  .. image:: https://travis-ci.org/tcalmant/jsonrpclib.svg?branch=master
-     :target: https://travis-ci.org/tcalmant/jsonrpclib
-     :alt: Travis-CI status
- .
-  .. image:: https://coveralls.io/repos/tcalmant/jsonrpclib/badge.svg?branch=master
-     :target: https://coveralls.io/r/tcalmant/jsonrpclib?branch=master
-     :alt: Coveralls status
- .
- This library is an implementation of the JSON-RPC specification.
- It supports both the original 1.0 specification, as well as the
- new (proposed) 2.0 specification, which includes batch submission, keyword
- arguments, etc.
- .
- It is licensed under the Apache License, Version 2.0
- (http://www.apache.org/licenses/LICENSE-2.0.html).
- .
- .
- About this version
- ******************
- .
- This is a patched version of the original ``jsonrpclib`` project by
- Josh Marshall, available at https://github.com/joshmarshall/jsonrpclib.
- .
- The suffix *-pelix* only indicates that this version works with Pelix Remote
- Services, but it is **not** a Pelix specific implementation.
- .
-  * This version adds support for Python 3, staying compatible with Python 2.7.
-  * It is now possible to use the dispatch_method argument while extending
-   the SimpleJSONRPCDispatcher, to use a custom dispatcher.
-   This allows to use this package by Pelix Remote Services.
-  * It can use thread pools to control the number of threads spawned to handle
-   notification requests and clients connections.
-  * The modifications added in other forks of this project have been added:
- .
-   * From https://github.com/drdaeman/jsonrpclib:
- .
-     * Improved JSON-RPC 1.0 support
-     * Less strict error response handling
- .
-   * From https://github.com/tuomassalo/jsonrpclib:
- .
-     * In case of a non-pre-defined error, raise an AppError and give access to
-       *error.data*
- .
-   * From https://github.com/dejw/jsonrpclib:
- .
-     * Custom headers can be sent with request and associated tests
- .
-  * The support for Unix sockets has been removed, as it is not trivial to convert
-   to Python 3 (and I don't use them)
-  * This version cannot be installed with the original ``jsonrpclib``, as it uses
-   the same package name.
- .
- .
- Summary
- *******
- .
- This library implements the JSON-RPC 2.0 proposed specification in pure Python.
- It is designed to be as compatible with the syntax of ``xmlrpclib`` as possible
- (it extends where possible), so that projects using ``xmlrpclib`` could easily
- be modified to use JSON and experiment with the differences.
- .
- It is backwards-compatible with the 1.0 specification, and supports all of the
- new proposed features of 2.0, including:
- .
-  * Batch submission (via MultiCall)
-  * Keyword arguments
-  * Notifications (both in a batch and 'normal')
-  * Class translation using the ``__jsonclass__`` key.
- .
- I've added a "SimpleJSONRPCServer", which is intended to emulate the
- "SimpleXMLRPCServer" from the default Python distribution.
- .
- .
-
 Package: python3-jsonrpclib-pelix
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends},
+Depends: ${misc:Depends}, ${python3:Depends}
 Recommends: ${python3:Recommends}
 Suggests: ${python3:Suggests}
-Description: This project is an implementation of the JSON-RPC v2.0 specification (backwards-
- JSONRPClib (patched for Pelix and Python 3)
- ###########################################
- .
-  .. image:: https://img.shields.io/pypi/v/jsonrpclib-pelix.svg
-     :target: https://pypi.python.org/pypi/jsonrpclib-pelix/
-     :alt: Latest Version
- .
-  .. image:: https://img.shields.io/pypi/l/jsonrpclib-pelix.svg
-     :target: https://pypi.python.org/pypi/jsonrpclib-pelix/
-     :alt: License
- .
-  .. image:: https://travis-ci.org/tcalmant/jsonrpclib.svg?branch=master
-     :target: https://travis-ci.org/tcalmant/jsonrpclib
-     :alt: Travis-CI status
- .
-  .. image:: https://coveralls.io/repos/tcalmant/jsonrpclib/badge.svg?branch=master
-     :target: https://coveralls.io/r/tcalmant/jsonrpclib?branch=master
-     :alt: Coveralls status
- .
+Description: Implementation of the JSON-RPC v2.0 specification (Python 3)
  This library is an implementation of the JSON-RPC specification.
  It supports both the original 1.0 specification, as well as the
  new (proposed) 2.0 specification, which includes batch submission, keyword
  arguments, etc.
  .
- It is licensed under the Apache License, Version 2.0
- (http://www.apache.org/licenses/LICENSE-2.0.html).
- .
- .
- About this version
- ******************
- .
- This is a patched version of the original ``jsonrpclib`` project by
- Josh Marshall, available at https://github.com/joshmarshall/jsonrpclib.
+ This is a patched version of the original ``jsonrpclib`` project.
  .
  The suffix *-pelix* only indicates that this version works with Pelix Remote
  Services, but it is **not** a Pelix specific implementation.
- .
-  * This version adds support for Python 3, staying compatible with Python 2.7.
-  * It is now possible to use the dispatch_method argument while extending
-   the SimpleJSONRPCDispatcher, to use a custom dispatcher.
-   This allows to use this package by Pelix Remote Services.
-  * It can use thread pools to control the number of threads spawned to handle
-   notification requests and clients connections.
-  * The modifications added in other forks of this project have been added:
- .
-   * From https://github.com/drdaeman/jsonrpclib:
- .
-     * Improved JSON-RPC 1.0 support
-     * Less strict error response handling
- .
-   * From https://github.com/tuomassalo/jsonrpclib:
- .
-     * In case of a non-pre-defined error, raise an AppError and give access to
-       *error.data*
- .
-   * From https://github.com/dejw/jsonrpclib:
- .
-     * Custom headers can be sent with request and associated tests
- .
-  * The support for Unix sockets has been removed, as it is not trivial to convert
-   to Python 3 (and I don't use them)
-  * This version cannot be installed with the original ``jsonrpclib``, as it uses
-   the same package name.
- .
- .
- Summary
- *******
- .
- This library implements the JSON-RPC 2.0 proposed specification in pure Python.
- It is designed to be as compatible with the syntax of ``xmlrpclib`` as possible
- (it extends where possible), so that projects using ``xmlrpclib`` could easily
- be modified to use JSON and experiment with the differences.
- .
- It is backwards-compatible with the 1.0 specification, and supports all of the
- new proposed features of 2.0, including:
- .
-  * Batch submission (via MultiCall)
-  * Keyword arguments
-  * Notifications (both in a batch and 'normal')
-  * Class translation using the ``__jsonclass__`` key.
- .
- I've added a "SimpleJSONRPCServer", which is intended to emulate the
- "SimpleXMLRPCServer" from the default Python distribution.
- .
- .
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 8c7e3eb..53a1658 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,4 @@
 
 export PYBUILD_NAME=jsonrpclib-pelix
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
\ No newline at end of file
+	dh $@ --with python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jsonrpclib-pelix.git



More information about the Python-modules-commits mailing list