Date: Fri, 7 Aug 2015 05:22:01 +0000 (UTC) From: Fukang Chen <loader@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393682 - in head/net: . py-python-bitcoinrpc Message-ID: <201508070522.t775M1gv035126@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: loader (doc committer) Date: Fri Aug 7 05:22:00 2015 New Revision: 393682 URL: https://svnweb.freebsd.org/changeset/ports/393682 Log: [NEW] net/py-python-bitcoinrpc: Enhanced version of python-jsonrpc for use with Bitcoin AuthServiceProxy is an improved version of python-jsonrpc. It includes the following generic improvements: - HTTP connections persist for the life of the AuthServiceProxy object - sends protocol 'version', per JSON-RPC 1.1 - sends proper, incrementing 'id' - uses standard Python json lib - can optionally log all RPC calls and results - JSON-2.0 batch support It also includes the following bitcoin-specific details: - sends Basic HTTP authentication headers - parses all JSON numbers that look like floats as Decimal, and serializes Decimal values to JSON-RPC connections. WWW: https://github.com/jgarzik/python-bitcoinrpc Approved by: koobs Differential Revision: https://reviews.freebsd.org/D3317 Added: head/net/py-python-bitcoinrpc/ head/net/py-python-bitcoinrpc/Makefile (contents, props changed) head/net/py-python-bitcoinrpc/distinfo (contents, props changed) head/net/py-python-bitcoinrpc/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Fri Aug 7 04:20:04 2015 (r393681) +++ head/net/Makefile Fri Aug 7 05:22:00 2015 (r393682) @@ -950,6 +950,7 @@ SUBDIR += py-pysendfile SUBDIR += py-pysocks SUBDIR += py-pysphere + SUBDIR += py-python-bitcoinrpc SUBDIR += py-pyvmomi SUBDIR += py-pyzmq SUBDIR += py-qt4-network Added: head/net/py-python-bitcoinrpc/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-python-bitcoinrpc/Makefile Fri Aug 7 05:22:00 2015 (r393682) @@ -0,0 +1,21 @@ +# Created by: loader <loader@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= python-bitcoinrpc +PORTVERSION= 0.3.0.20150403 +CATEGORIES= net finance python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= loader@FreeBSD.org +COMMENT= Enhanced version of python-jsonrpc for use with Bitcoin + +LICENSE= LGPL20 + +USE_GITHUB= yes +GH_ACCOUNT= jgarzik +GH_TAGNAME= f607fe7 + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> Added: head/net/py-python-bitcoinrpc/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-python-bitcoinrpc/distinfo Fri Aug 7 05:22:00 2015 (r393682) @@ -0,0 +1,2 @@ +SHA256 (jgarzik-python-bitcoinrpc-0.3.0.20150403-f607fe7_GH0.tar.gz) = f8ea6c2b33bdf70b6dcc25a915f6a81241be0869ae612b24036b503f3f52a2ed +SIZE (jgarzik-python-bitcoinrpc-0.3.0.20150403-f607fe7_GH0.tar.gz) = 3942 Added: head/net/py-python-bitcoinrpc/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-python-bitcoinrpc/pkg-descr Fri Aug 7 05:22:00 2015 (r393682) @@ -0,0 +1,18 @@ +AuthServiceProxy is an improved version of python-jsonrpc. + +It includes the following generic improvements: + +- HTTP connections persist for the life of the AuthServiceProxy object +- sends protocol 'version', per JSON-RPC 1.1 +- sends proper, incrementing 'id' +- uses standard Python json lib +- can optionally log all RPC calls and results +- JSON-2.0 batch support + +It also includes the following bitcoin-specific details: + +- sends Basic HTTP authentication headers +- parses all JSON numbers that look like floats as Decimal, + and serializes Decimal values to JSON-RPC connections. + +WWW: https://github.com/jgarzik/python-bitcoinrpc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508070522.t775M1gv035126>