mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
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. WWW: https://github.com/joshmarshall/jsonrpclib PR: ports/160869 Submitted by: Attila Nagy <bra@fsn.hu>
This commit is contained in:
parent
ae12642ac8
commit
2004fa08b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282165
@ -3003,6 +3003,7 @@
|
||||
SUBDIR += py-json-py
|
||||
SUBDIR += py-jsonlib
|
||||
SUBDIR += py-jsonlib2
|
||||
SUBDIR += py-jsonrpclib
|
||||
SUBDIR += py-kid
|
||||
SUBDIR += py-kjbuckets
|
||||
SUBDIR += py-kqueue
|
||||
|
22
devel/py-jsonrpclib/Makefile
Normal file
22
devel/py-jsonrpclib/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: py-jsonrpclib
|
||||
# Date created: 09. 21. 2011
|
||||
# Whom: Attila Nagy <bra@fsn.hu>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= jsonrpclib
|
||||
PORTVERSION= 0.1.3
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bra@fsn.hu
|
||||
COMMENT= Implements the JSON-RPC 2.0 proposed specification in pure Python
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cjson.so:${PORTSDIR}/devel/py-cjson
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-jsonrpclib/distinfo
Normal file
2
devel/py-jsonrpclib/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (jsonrpclib-0.1.3.tar.gz) = a594e702c35408ae5540086ab5bdea284fb27d09520898c381c5bbdbfceffbba
|
||||
SIZE (jsonrpclib-0.1.3.tar.gz) = 12468
|
13
devel/py-jsonrpclib/pkg-descr
Normal file
13
devel/py-jsonrpclib/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
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.
|
||||
|
||||
WWW: https://github.com/joshmarshall/jsonrpclib
|
20
devel/py-jsonrpclib/pkg-plist
Normal file
20
devel/py-jsonrpclib/pkg-plist
Normal file
@ -0,0 +1,20 @@
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.pyo
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/config.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/config.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/config.pyo
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/history.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/history.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/history.pyo
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.pyo
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.py
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.pyc
|
||||
%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.pyo
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/jsonrpclib
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%
|
Loading…
Reference in New Issue
Block a user