pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-jsonrpc-server
Module Name: pkgsrc
Committed By: wiz
Date: Mon May 18 13:34:30 UTC 2020
Added Files:
pkgsrc/textproc/py-jsonrpc-server: DESCR Makefile PLIST distinfo
pkgsrc/textproc/py-jsonrpc-server/patches: patch-setup.py
Log Message:
textproc/py-jsonrpc-server: import py-jsonrpc-server-0.3.4
A Python 2.7 and 3.4+ server implementation of the JSON RPC 2.0
protocol. This library has been pulled out of the Python Language
Server project.
Asynchronous request handling is supported using Python 3's
concurrent.futures module and the Python 2 concurrent.futures
backport.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-jsonrpc-server/DESCR \
pkgsrc/textproc/py-jsonrpc-server/Makefile \
pkgsrc/textproc/py-jsonrpc-server/PLIST \
pkgsrc/textproc/py-jsonrpc-server/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/py-jsonrpc-server/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/py-jsonrpc-server/DESCR
diff -u /dev/null pkgsrc/textproc/py-jsonrpc-server/DESCR:1.1
--- /dev/null Mon May 18 13:34:30 2020
+++ pkgsrc/textproc/py-jsonrpc-server/DESCR Mon May 18 13:34:30 2020
@@ -0,0 +1,7 @@
+A Python 2.7 and 3.4+ server implementation of the JSON RPC 2.0
+protocol. This library has been pulled out of the Python Language
+Server project.
+
+Asynchronous request handling is supported using Python 3's
+concurrent.futures module and the Python 2 concurrent.futures
+backport.
Index: pkgsrc/textproc/py-jsonrpc-server/Makefile
diff -u /dev/null pkgsrc/textproc/py-jsonrpc-server/Makefile:1.1
--- /dev/null Mon May 18 13:34:30 2020
+++ pkgsrc/textproc/py-jsonrpc-server/Makefile Mon May 18 13:34:30 2020
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2020/05/18 13:34:30 wiz Exp $
+
+DISTNAME= python-jsonrpc-server-0.3.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
+CATEGORIES= textproc net devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-jsonrpc-server/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/palantir/python-jsonrpc-server
+COMMENT= Asynchronous JSON RPC server for Python
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
+DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
+.endif
+DEPENDS+= ${PYPKGPREFIX}-ujson-[0-9]*:../../textproc/py-ujson
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+# does not work either
+#do-test:
+# cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-jsonrpc-server/PLIST
diff -u /dev/null pkgsrc/textproc/py-jsonrpc-server/PLIST:1.1
--- /dev/null Mon May 18 13:34:30 2020
+++ pkgsrc/textproc/py-jsonrpc-server/PLIST Mon May 18 13:34:30 2020
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/18 13:34:30 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyls_jsonrpc/__init__.py
+${PYSITELIB}/pyls_jsonrpc/__init__.pyc
+${PYSITELIB}/pyls_jsonrpc/__init__.pyo
+${PYSITELIB}/pyls_jsonrpc/_version.py
+${PYSITELIB}/pyls_jsonrpc/_version.pyc
+${PYSITELIB}/pyls_jsonrpc/_version.pyo
+${PYSITELIB}/pyls_jsonrpc/dispatchers.py
+${PYSITELIB}/pyls_jsonrpc/dispatchers.pyc
+${PYSITELIB}/pyls_jsonrpc/dispatchers.pyo
+${PYSITELIB}/pyls_jsonrpc/endpoint.py
+${PYSITELIB}/pyls_jsonrpc/endpoint.pyc
+${PYSITELIB}/pyls_jsonrpc/endpoint.pyo
+${PYSITELIB}/pyls_jsonrpc/exceptions.py
+${PYSITELIB}/pyls_jsonrpc/exceptions.pyc
+${PYSITELIB}/pyls_jsonrpc/exceptions.pyo
+${PYSITELIB}/pyls_jsonrpc/streams.py
+${PYSITELIB}/pyls_jsonrpc/streams.pyc
+${PYSITELIB}/pyls_jsonrpc/streams.pyo
Index: pkgsrc/textproc/py-jsonrpc-server/distinfo
diff -u /dev/null pkgsrc/textproc/py-jsonrpc-server/distinfo:1.1
--- /dev/null Mon May 18 13:34:30 2020
+++ pkgsrc/textproc/py-jsonrpc-server/distinfo Mon May 18 13:34:30 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/18 13:34:30 wiz Exp $
+
+SHA1 (python-jsonrpc-server-0.3.4.tar.gz) = ba831d36b8a7f6c6deb6a6f041121f2c0fd8f1f9
+RMD160 (python-jsonrpc-server-0.3.4.tar.gz) = 900bb755841932f6105be186d652aa82c6a7f54f
+SHA512 (python-jsonrpc-server-0.3.4.tar.gz) = a00af318baf89fe38ececc2080d7b3af8c2476280f9eb89670e5b0d3ceac046573be964bc2882c1b1894edc8ab4cb5fd69366980abe17bb1df857181821bcbd0
+Size (python-jsonrpc-server-0.3.4.tar.gz) = 26123 bytes
+SHA1 (patch-setup.py) = eb2dd2180683df93a65c3ab874edb9b40d4f7972
Index: pkgsrc/textproc/py-jsonrpc-server/patches/patch-setup.py
diff -u /dev/null pkgsrc/textproc/py-jsonrpc-server/patches/patch-setup.py:1.1
--- /dev/null Mon May 18 13:34:30 2020
+++ pkgsrc/textproc/py-jsonrpc-server/patches/patch-setup.py Mon May 18 13:34:30 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2020/05/18 13:34:30 wiz Exp $
+
+Accept any ujson.
+https://github.com/palantir/python-jsonrpc-server/issues/36
+
+--- setup.py.orig 2020-01-19 16:34:33.000000000 +0000
++++ setup.py
+@@ -34,7 +34,7 @@ setup(
+ install_requires=[
+ 'future>=0.14.0; python_version<"3"',
+ 'futures; python_version<"3.2"',
+- 'ujson<=1.35; platform_system!="Windows"',
++ 'ujson',
+ ],
+
+ # List additional groups of dependencies here (e.g. development
Home |
Main Index |
Thread Index |
Old Index