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>
22 lines
499 B
Makefile
22 lines
499 B
Makefile
# 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>
|