ports/160869: New port: devel/py-jsonrpclib

Attila Nagy bra at fsn.hu
Wed Sep 21 13:40:11 UTC 2011


>Number:         160869
>Category:       ports
>Synopsis:       New port: devel/py-jsonrpclib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 13:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Attila Nagy
>Release:        
>Organization:
>Environment:
>Description:
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.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-jsonrpclib
#	py-jsonrpclib/pkg-plist
#	py-jsonrpclib/distinfo
#	py-jsonrpclib/Makefile
#	py-jsonrpclib/pkg-descr
#
echo c - py-jsonrpclib
mkdir -p py-jsonrpclib > /dev/null 2>&1
echo x - py-jsonrpclib/pkg-plist
sed 's/^X//' >py-jsonrpclib/pkg-plist << '3d3c4862132597c7ff29f9a78eef08c2'
X%%PYTHON_SITELIBDIR%%/jsonrpclib-0.1.3-py2.7.egg-info
X%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/SimpleJSONRPCServer.pyo
X%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/__init__.pyo
X%%PYTHON_SITELIBDIR%%/jsonrpclib/config.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/config.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/config.pyo
X%%PYTHON_SITELIBDIR%%/jsonrpclib/history.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/history.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/history.pyo
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonclass.pyo
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.py
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.pyc
X%%PYTHON_SITELIBDIR%%/jsonrpclib/jsonrpc.pyo
X at dirrmtry %%PYTHON_SITELIBDIR%%/jsonrpclib
X at dirrmtry %%PYTHON_SITELIBDIR%%
3d3c4862132597c7ff29f9a78eef08c2
echo x - py-jsonrpclib/distinfo
sed 's/^X//' >py-jsonrpclib/distinfo << '16e7bae908fb938248617cdf3a93f246'
XSHA256 (jsonrpclib-0.1.3.tar.gz) = a594e702c35408ae5540086ab5bdea284fb27d09520898c381c5bbdbfceffbba
XSIZE (jsonrpclib-0.1.3.tar.gz) = 12468
16e7bae908fb938248617cdf3a93f246
echo x - py-jsonrpclib/Makefile
sed 's/^X//' >py-jsonrpclib/Makefile << 'b2a4d21468f21c7d37622754ccf6a296'
X# New ports collection makefile for:	py-jsonrpclib
X# Date created:		09. 21. 2011
X# Whom:			Attila Nagy <bra at fsn.hu>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	jsonrpclib
XPORTVERSION=	0.1.3
XCATEGORIES=	devel python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	bra at fsn.hu
XCOMMENT=	Implements the JSON-RPC 2.0 proposed specification in pure Python
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XPYDISTUTILS_PKGNAME=    python-jsonrpclib
X
XRUN_DEPENDS=	${PYTHON_SITELIBDIR}/cjson.so:${PORTSDIR}/devel/py-cjson
X
X.include <bsd.port.mk>
b2a4d21468f21c7d37622754ccf6a296
echo x - py-jsonrpclib/pkg-descr
sed 's/^X//' >py-jsonrpclib/pkg-descr << '3aee400ecc565be09f8c57020948b630'
XThis 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.
X
XIt is backwards-compatible with the 1.0 specification, and supports all of the new proposed features of 2.0, including:
X
X    * Batch submission (via MultiCall)
X    * Keyword arguments
X    * Notifications (both in a batch and 'normal')
X    * Class translation using the 'jsonclass' key.
X
XWWW:	https://github.com/joshmarshall/jsonrpclib
3aee400ecc565be09f8c57020948b630
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list