pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Dec  3 16:32:16 UTC 2019

Modified Files:
        pkgsrc/finance: Makefile
Added Files:
        pkgsrc/finance/py-bitcoinrpc: DESCR Makefile PLIST distinfo

Log Message:
py-bitcoinrpc: added version 1.0

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.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/finance/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/py-bitcoinrpc/DESCR \
    pkgsrc/finance/py-bitcoinrpc/Makefile pkgsrc/finance/py-bitcoinrpc/PLIST \
    pkgsrc/finance/py-bitcoinrpc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/Makefile
diff -u pkgsrc/finance/Makefile:1.69 pkgsrc/finance/Makefile:1.70
--- pkgsrc/finance/Makefile:1.69        Mon Nov 25 18:24:49 2019
+++ pkgsrc/finance/Makefile     Tue Dec  3 16:32:16 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2019/11/25 18:24:49 adam Exp $
+# $NetBSD: Makefile,v 1.70 2019/12/03 16:32:16 adam Exp $
 #
 
 COMMENT=       Monetary, financial and related applications
@@ -31,6 +31,7 @@ SUBDIR+=      py-alpha_vantage
 SUBDIR+=       py-alphalens
 SUBDIR+=       py-backtrader
 SUBDIR+=       py-bitcoinlib
+SUBDIR+=       py-bitcoinrpc
 SUBDIR+=       py-braintree
 SUBDIR+=       py-empyrical
 SUBDIR+=       py-fecon235

Added files:

Index: pkgsrc/finance/py-bitcoinrpc/DESCR
diff -u /dev/null pkgsrc/finance/py-bitcoinrpc/DESCR:1.1
--- /dev/null   Tue Dec  3 16:32:16 2019
+++ pkgsrc/finance/py-bitcoinrpc/DESCR  Tue Dec  3 16:32:16 2019
@@ -0,0 +1,14 @@
+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.
Index: pkgsrc/finance/py-bitcoinrpc/Makefile
diff -u /dev/null pkgsrc/finance/py-bitcoinrpc/Makefile:1.1
--- /dev/null   Tue Dec  3 16:32:16 2019
+++ pkgsrc/finance/py-bitcoinrpc/Makefile       Tue Dec  3 16:32:16 2019
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2019/12/03 16:32:16 adam Exp $
+
+DISTNAME=      python-bitcoinrpc-1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
+CATEGORIES=    finance python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-bitcoinrpc/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/jgarzik/python-bitcoinrpc
+COMMENT=       Enhanced version of python-jsonrpc for use with Bitcoin
+LICENSE=       gnu-lgpl-v2.1
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/finance/py-bitcoinrpc/PLIST
diff -u /dev/null pkgsrc/finance/py-bitcoinrpc/PLIST:1.1
--- /dev/null   Tue Dec  3 16:32:16 2019
+++ pkgsrc/finance/py-bitcoinrpc/PLIST  Tue Dec  3 16:32:16 2019
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/03 16:32:16 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/bitcoinrpc/__init__.py
+${PYSITELIB}/bitcoinrpc/__init__.pyc
+${PYSITELIB}/bitcoinrpc/__init__.pyo
+${PYSITELIB}/bitcoinrpc/authproxy.py
+${PYSITELIB}/bitcoinrpc/authproxy.pyc
+${PYSITELIB}/bitcoinrpc/authproxy.pyo
Index: pkgsrc/finance/py-bitcoinrpc/distinfo
diff -u /dev/null pkgsrc/finance/py-bitcoinrpc/distinfo:1.1
--- /dev/null   Tue Dec  3 16:32:16 2019
+++ pkgsrc/finance/py-bitcoinrpc/distinfo       Tue Dec  3 16:32:16 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/03 16:32:16 adam Exp $
+
+SHA1 (python-bitcoinrpc-1.0.tar.gz) = c345fbf5a98f77d940fa58bad664211124899a63
+RMD160 (python-bitcoinrpc-1.0.tar.gz) = fc396d742c86b72d87d3e44f810a97e9ae38bfbf
+SHA512 (python-bitcoinrpc-1.0.tar.gz) = 75e6fe804b3e6340164030a25fde0ebee1fe573d590745d4f5634e2d850d35bdd20956b3a8523aabb55441eb6486f601d3cdb48564a8469df7656e7468b43608
+Size (python-bitcoinrpc-1.0.tar.gz) = 13146 bytes



Home | Main Index | Thread Index | Old Index