summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-08 10:21:57 +0000
committeradam <adam@pkgsrc.org>2017-10-08 10:21:57 +0000
commit7d46914fc5b5752f2ed394b9a771cada3f41d370 (patch)
tree1a92c4ae1d93e0ef9a4ac156e26e717dc54b3df8
parent54b706228453db2220809f4c1fabc65e5d824807 (diff)
downloadpkgsrc-7d46914fc5b5752f2ed394b9a771cada3f41d370.tar.gz
py-Pyro: update to 4.62
Pyro 4.62: major new feature: SSL/TLS support added - a handful of new config items (‘SSL’ prefixed), supports server-only certificate and also 2-way-ssl (server+client certificates). For testing purposes, self-signed server and client certificates are available in the ‘certs’ directory. SSL/TLS in Pyro is supported on Python 2.7.11+ or Python 3.4.4+ (these versions have various important security related changes such as disabling vulnerable cyphers or protocols by default) added SSL example that shows how to configure 2-way-SSL in Pyro and how to do certificate verification on both sides. added cloudpickle serialization support (https://github.com/cloudpipe/cloudpickle/) added a small extended-pickle example that shows what dill and cloudpickle can do (send actual functions) daemon is now more resilient to exceptions occurring with socket communications (it logs them but is otherwise not interrupted) (this was required to avoid errors occurring in the SSL layer stopping the server) some small bugs fixed (crash when logging certain errors in thread server, invalid protected members showing up on pypy3) the raise data line in a traceback coming from Pyro now has a comment after it, telling you that you probably should inspect the remote traceback as well. note: if you’re using Python 3 only and are interested in a modernized version of Pyro, have a look at Pyro5: https://github.com/irmen/Pyro5 It’s experimental work in progress, but it works pretty well. note: Pyro4 is reaching a state where I consider it “feature complete”: I’m considering not adding more new features but only doing bug-fixes. New features (if any) will then appear only in Pyro5.
-rw-r--r--devel/py-Pyro/Makefile30
-rw-r--r--devel/py-Pyro/PLIST24
-rw-r--r--devel/py-Pyro/distinfo11
3 files changed, 37 insertions, 28 deletions
diff --git a/devel/py-Pyro/Makefile b/devel/py-Pyro/Makefile
index e303e1c03e1..da23398f6aa 100644
--- a/devel/py-Pyro/Makefile
+++ b/devel/py-Pyro/Makefile
@@ -1,23 +1,23 @@
-# $NetBSD: Makefile,v 1.20 2016/06/08 17:43:24 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2017/10/08 10:21:57 adam Exp $
-DISTNAME= Pyro4-4.22
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/}
+DISTNAME= Pyro4-4.62
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/}
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://pyro.sourceforge.net/
-COMMENT= Distributed Object Technology system in Python
-LICENSE= mit
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/irmen/Pyro4
+COMMENT= Distributed Object Technology system in Python
+LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-serpent-[0-9]*:../../devel/py-serpent
+DEPENDS+= ${PYPKGPREFIX}-serpent>=1.23:../../devel/py-serpent
+
+USE_LANGUAGES= # none
+
+PYTHON_SELF_CONFLICT= yes
-# only needed for test
-#DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-#DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
-#DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
do-test:
- cd ${WRKSRC}/tests; ${PYTHONBIN} run_suite.py
+ cd ${WRKSRC}/tests && ${PYTHONBIN} run_testsuite.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-Pyro/PLIST b/devel/py-Pyro/PLIST
index d05f76a7326..f4ba2dd36ec 100644
--- a/devel/py-Pyro/PLIST
+++ b/devel/py-Pyro/PLIST
@@ -1,7 +1,14 @@
-@comment $NetBSD: PLIST,v 1.6 2013/12/04 16:41:01 drochner Exp $
+@comment $NetBSD: PLIST,v 1.7 2017/10/08 10:21:57 adam Exp $
+bin/pyro4-check-config
+bin/pyro4-flameserver
+bin/pyro4-httpgateway
+bin/pyro4-ns
+bin/pyro4-nsc
+bin/pyro4-test-echoserver
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/Pyro4/__init__.py
@@ -28,6 +35,9 @@ ${PYSITELIB}/Pyro4/message.pyo
${PYSITELIB}/Pyro4/naming.py
${PYSITELIB}/Pyro4/naming.pyc
${PYSITELIB}/Pyro4/naming.pyo
+${PYSITELIB}/Pyro4/naming_storage.py
+${PYSITELIB}/Pyro4/naming_storage.pyc
+${PYSITELIB}/Pyro4/naming_storage.pyo
${PYSITELIB}/Pyro4/nsc.py
${PYSITELIB}/Pyro4/nsc.pyc
${PYSITELIB}/Pyro4/nsc.pyo
@@ -37,6 +47,9 @@ ${PYSITELIB}/Pyro4/socketserver/__init__.pyo
${PYSITELIB}/Pyro4/socketserver/multiplexserver.py
${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyc
${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyo
+${PYSITELIB}/Pyro4/socketserver/threadpool.py
+${PYSITELIB}/Pyro4/socketserver/threadpool.pyc
+${PYSITELIB}/Pyro4/socketserver/threadpool.pyo
${PYSITELIB}/Pyro4/socketserver/threadpoolserver.py
${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyc
${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyo
@@ -49,12 +62,6 @@ ${PYSITELIB}/Pyro4/test/__init__.pyo
${PYSITELIB}/Pyro4/test/echoserver.py
${PYSITELIB}/Pyro4/test/echoserver.pyc
${PYSITELIB}/Pyro4/test/echoserver.pyo
-${PYSITELIB}/Pyro4/threadutil.py
-${PYSITELIB}/Pyro4/threadutil.pyc
-${PYSITELIB}/Pyro4/threadutil.pyo
-${PYSITELIB}/Pyro4/tpjobqueue.py
-${PYSITELIB}/Pyro4/tpjobqueue.pyc
-${PYSITELIB}/Pyro4/tpjobqueue.pyo
${PYSITELIB}/Pyro4/util.py
${PYSITELIB}/Pyro4/util.pyc
${PYSITELIB}/Pyro4/util.pyo
@@ -67,3 +74,6 @@ ${PYSITELIB}/Pyro4/utils/flame.pyo
${PYSITELIB}/Pyro4/utils/flameserver.py
${PYSITELIB}/Pyro4/utils/flameserver.pyc
${PYSITELIB}/Pyro4/utils/flameserver.pyo
+${PYSITELIB}/Pyro4/utils/httpgateway.py
+${PYSITELIB}/Pyro4/utils/httpgateway.pyc
+${PYSITELIB}/Pyro4/utils/httpgateway.pyo
diff --git a/devel/py-Pyro/distinfo b/devel/py-Pyro/distinfo
index dd5c1366f24..e48da583d89 100644
--- a/devel/py-Pyro/distinfo
+++ b/devel/py-Pyro/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 03:29:04 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/10/08 10:21:57 adam Exp $
-SHA1 (Pyro4-4.22.tar.gz) = f03da84c8d86357db6c17c62cf9d22be6613ebee
-RMD160 (Pyro4-4.22.tar.gz) = 8c2a8896d30bdb44bd0ca21135b64c53d76ec55c
-SHA512 (Pyro4-4.22.tar.gz) = 3f8db9c5d8bf5d818ea1e68f28368e2ee1071f532c4fe904cb00117c71fa51ac963d93dec3df9a82d34c72963387c97dc26abfb422c6cdd2cd1a82bb4223598f
-Size (Pyro4-4.22.tar.gz) = 291287 bytes
-SHA1 (patch-ab) = 03bc0ffcaf8963cb7ab177c021460facaff890ad
+SHA1 (Pyro4-4.62.tar.gz) = 2c8581730124d3f619530ccdf3d66b267a1e3046
+RMD160 (Pyro4-4.62.tar.gz) = e7bb25f1f14e7003027df4c8bae67a2f36c8b272
+SHA512 (Pyro4-4.62.tar.gz) = 3a0104af4db353ed783b6924fc349a4492dc0af74acb5b54b59c85f27543dbb9fd1d4e44e96102aa2774febeded904c13c67adfc36277a14b91d60a66855abdc
+Size (Pyro4-4.62.tar.gz) = 470115 bytes