Sun Dec 16 14:33:25 2018 UTC ()
py-Pyro: updated to 4.74

Pyro 4.74

- serpent 1.27 required to avoid regression in previous version
- fixed marshal serializer problem that prevented it to even call register() in the name server.
  Its dumpsCall is now able to use the class_to_dict conversion for unmarshallable types
  (in simple situations, not recursively).  Previously, you would get a ValueError: unmarshallable object.
- msgpack, json and marshal serializers now understand how to serialize array.array the same way serpent already did

Pyro 4.73

- include LICENSE file in distribution
- avoid decode error when dealing with memoryview annotations

Pyro 4.72

- (source files: normalized line endings to LF)
- the -k command line option to supply a HMAC encryption key on the command line for the name server, nsc,
  echoserver, flameserver and httpgateway tools is now deprecated (and will print a warning if used).
  It is a security issue because the key used is plainly visible.
  If you require proper security, use Pyro's 2-way SSL feature. Alternatively, set the HMAC key in the (new) environment
  variable PYRO_HMAC_KEY if you still have to use it before launching the aforementioned tools.

Pyro 4.71

- updated msgpack dependency (was msgpack-python but that name is now deprecated)
- fixed restart and force reload commands of the contrib/init.d/pyro4-nsd script, and changed its port binding
  from 9999 back to 9090 which is Pyro's default.
- serpent 1.24 library now required to fix some api deprecation warnings when using Python 3.7 or newer.
- updated sphinx documentation theme

Pyro 4.70

- bump to version 4.70 to emphasize the following change:
- incompatible API change for python 3.7 compatibility: renaming of async function and keyword arguments in the API:
  Renamed Pyro4.core.async to Pyro4.core.asyncproxy (and its occurrence in Pyro4)
  and the async keyword argument in some methods to asynchronous.
  This had to be done because async (and await) are now parsed as keywords in Python 3.7 and using them otherwise will result
  in a SyntaxError when loading the module.
  It is suggested you stop using the asyncproxy function and instead create asynchronous proxies using the _pyroAsync
  method on the regular proxy.
- For existing code running on Python *older than 3.7*, a backwards compatibility feature is present to still provide the
  async function and keyword arguments as they were supported on previous Pyro versions.
  But also for that older environments, it's advised to migrate away from them and start using the new names.
- Proxy and Daemon have a new 'connected_socket' parameter. You can set it to a user-supplied connected socket that must
  be used by them instead of creating a new socket for you. Connected sockets can be created using the socket.socketpair()
  function for instance, and allow for easy and efficient communication over an internal socket between
  parent-child processes or threads, using Pyro.  Also see the new 'socketpair' example.
- dropped support for Python 3.3 (which has reached end-of-life status). Supported Python versions are now 2.7, and 3.4 or newer.


(adam)
diff -r1.22 -r1.23 pkgsrc/devel/py-Pyro/Makefile
diff -r1.7 -r1.8 pkgsrc/devel/py-Pyro/PLIST
diff -r1.8 -r1.9 pkgsrc/devel/py-Pyro/distinfo

cvs diff -r1.22 -r1.23 pkgsrc/devel/py-Pyro/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-Pyro/Makefile 2017/10/31 12:53:58 1.22
+++ pkgsrc/devel/py-Pyro/Makefile 2018/12/16 14:33:24 1.23
@@ -1,23 +1,30 @@ @@ -1,23 +1,30 @@
1# $NetBSD: Makefile,v 1.22 2017/10/31 12:53:58 adam Exp $ 1# $NetBSD: Makefile,v 1.23 2018/12/16 14:33:24 adam Exp $
2 2
3DISTNAME= Pyro4-4.63 3DISTNAME= Pyro4-4.74
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/irmen/Pyro4 9HOMEPAGE= https://github.com/irmen/Pyro4
10COMMENT= Distributed Object Technology system in Python 10COMMENT= Distributed Object Technology system in Python
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-serpent>=1.23:../../devel/py-serpent 13DEPENDS+= ${PYPKGPREFIX}-serpent>=1.27:../../devel/py-serpent
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16
17PYTHON_SELF_CONFLICT= yes 17post-install:
 18 cd ${DESTDIR}${PREFIX}/bin && \
 19 ${MV} pyro4-check-config pyro4-check-config-${PYVERSSUFFIX} && \
 20 ${MV} pyro4-flameserver pyro4-flameserver-${PYVERSSUFFIX} && \
 21 ${MV} pyro4-httpgateway pyro4-httpgateway-${PYVERSSUFFIX} && \
 22 ${MV} pyro4-ns pyro4-ns-${PYVERSSUFFIX} && \
 23 ${MV} pyro4-nsc pyro4-nsc-${PYVERSSUFFIX} && \
 24 ${MV} pyro4-test-echoserver pyro4-test-echoserver-${PYVERSSUFFIX} || ${TRUE}
18 25
19do-test: 26do-test:
20 cd ${WRKSRC}/tests && ${PYTHONBIN} run_testsuite.py 27 cd ${WRKSRC}/tests && ${PYTHONBIN} run_testsuite.py
21 28
22.include "../../lang/python/egg.mk" 29.include "../../lang/python/egg.mk"
23.include "../../mk/bsd.pkg.mk" 30.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-Pyro/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-Pyro/PLIST 2017/10/08 10:21:57 1.7
+++ pkgsrc/devel/py-Pyro/PLIST 2018/12/16 14:33:24 1.8
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1@comment $NetBSD: PLIST,v 1.7 2017/10/08 10:21:57 adam Exp $ 1@comment $NetBSD: PLIST,v 1.8 2018/12/16 14:33:24 adam Exp $
2bin/pyro4-check-config 2bin/pyro4-check-config-${PYVERSSUFFIX}
3bin/pyro4-flameserver 3bin/pyro4-flameserver-${PYVERSSUFFIX}
4bin/pyro4-httpgateway 4bin/pyro4-httpgateway-${PYVERSSUFFIX}
5bin/pyro4-ns 5bin/pyro4-ns-${PYVERSSUFFIX}
6bin/pyro4-nsc 6bin/pyro4-nsc-${PYVERSSUFFIX}
7bin/pyro4-test-echoserver 7bin/pyro4-test-echoserver-${PYVERSSUFFIX}
8${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 8${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
9${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 9${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
10${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 10${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
11${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 11${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
12${PYSITELIB}/${EGG_INFODIR}/requires.txt 12${PYSITELIB}/${EGG_INFODIR}/requires.txt
13${PYSITELIB}/${EGG_INFODIR}/top_level.txt 13${PYSITELIB}/${EGG_INFODIR}/top_level.txt
14${PYSITELIB}/Pyro4/__init__.py 14${PYSITELIB}/Pyro4/__init__.py
15${PYSITELIB}/Pyro4/__init__.pyc 15${PYSITELIB}/Pyro4/__init__.pyc
16${PYSITELIB}/Pyro4/__init__.pyo 16${PYSITELIB}/Pyro4/__init__.pyo
17${PYSITELIB}/Pyro4/configuration.py 17${PYSITELIB}/Pyro4/configuration.py
18${PYSITELIB}/Pyro4/configuration.pyc 18${PYSITELIB}/Pyro4/configuration.pyc
19${PYSITELIB}/Pyro4/configuration.pyo 19${PYSITELIB}/Pyro4/configuration.pyo
20${PYSITELIB}/Pyro4/constants.py 20${PYSITELIB}/Pyro4/constants.py
@@ -34,26 +34,29 @@ ${PYSITELIB}/Pyro4/message.pyc @@ -34,26 +34,29 @@ ${PYSITELIB}/Pyro4/message.pyc
34${PYSITELIB}/Pyro4/message.pyo 34${PYSITELIB}/Pyro4/message.pyo
35${PYSITELIB}/Pyro4/naming.py 35${PYSITELIB}/Pyro4/naming.py
36${PYSITELIB}/Pyro4/naming.pyc 36${PYSITELIB}/Pyro4/naming.pyc
37${PYSITELIB}/Pyro4/naming.pyo 37${PYSITELIB}/Pyro4/naming.pyo
38${PYSITELIB}/Pyro4/naming_storage.py 38${PYSITELIB}/Pyro4/naming_storage.py
39${PYSITELIB}/Pyro4/naming_storage.pyc 39${PYSITELIB}/Pyro4/naming_storage.pyc
40${PYSITELIB}/Pyro4/naming_storage.pyo 40${PYSITELIB}/Pyro4/naming_storage.pyo
41${PYSITELIB}/Pyro4/nsc.py 41${PYSITELIB}/Pyro4/nsc.py
42${PYSITELIB}/Pyro4/nsc.pyc 42${PYSITELIB}/Pyro4/nsc.pyc
43${PYSITELIB}/Pyro4/nsc.pyo 43${PYSITELIB}/Pyro4/nsc.pyo
44${PYSITELIB}/Pyro4/socketserver/__init__.py 44${PYSITELIB}/Pyro4/socketserver/__init__.py
45${PYSITELIB}/Pyro4/socketserver/__init__.pyc 45${PYSITELIB}/Pyro4/socketserver/__init__.pyc
46${PYSITELIB}/Pyro4/socketserver/__init__.pyo 46${PYSITELIB}/Pyro4/socketserver/__init__.pyo
 47${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.py
 48${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.pyc
 49${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.pyo
47${PYSITELIB}/Pyro4/socketserver/multiplexserver.py 50${PYSITELIB}/Pyro4/socketserver/multiplexserver.py
48${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyc 51${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyc
49${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyo 52${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyo
50${PYSITELIB}/Pyro4/socketserver/threadpool.py 53${PYSITELIB}/Pyro4/socketserver/threadpool.py
51${PYSITELIB}/Pyro4/socketserver/threadpool.pyc 54${PYSITELIB}/Pyro4/socketserver/threadpool.pyc
52${PYSITELIB}/Pyro4/socketserver/threadpool.pyo 55${PYSITELIB}/Pyro4/socketserver/threadpool.pyo
53${PYSITELIB}/Pyro4/socketserver/threadpoolserver.py 56${PYSITELIB}/Pyro4/socketserver/threadpoolserver.py
54${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyc 57${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyc
55${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyo 58${PYSITELIB}/Pyro4/socketserver/threadpoolserver.pyo
56${PYSITELIB}/Pyro4/socketutil.py 59${PYSITELIB}/Pyro4/socketutil.py
57${PYSITELIB}/Pyro4/socketutil.pyc 60${PYSITELIB}/Pyro4/socketutil.pyc
58${PYSITELIB}/Pyro4/socketutil.pyo 61${PYSITELIB}/Pyro4/socketutil.pyo
59${PYSITELIB}/Pyro4/test/__init__.py 62${PYSITELIB}/Pyro4/test/__init__.py

cvs diff -r1.8 -r1.9 pkgsrc/devel/py-Pyro/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-Pyro/distinfo 2017/10/31 12:53:58 1.8
+++ pkgsrc/devel/py-Pyro/distinfo 2018/12/16 14:33:24 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2017/10/31 12:53:58 adam Exp $ 1$NetBSD: distinfo,v 1.9 2018/12/16 14:33:24 adam Exp $
2 2
3SHA1 (Pyro4-4.63.tar.gz) = 89b635d05e5cca38b3c581e7e648a8eb41674b89 3SHA1 (Pyro4-4.74.tar.gz) = 526b5acf260d95a75e1507e6f646659d5c416576
4RMD160 (Pyro4-4.63.tar.gz) = cc9accf72309923e5984b5d6289425ef560f125b 4RMD160 (Pyro4-4.74.tar.gz) = 7d4c76edd38378426e530c5584c79ca99fdd0a89
5SHA512 (Pyro4-4.63.tar.gz) = 2a73a38f26601a9d5c63d80018e4334a95bf2b49d52ea335526b9cc898a7472c13c7933a0091f9f625fa9dc2dfea9c085d56befa02c5a647f9a3f76ba5880ac3 5SHA512 (Pyro4-4.74.tar.gz) = f5a1f8d7e69d6a96d7fb116e6ec67f71fe5763320b1d82ba739612cb2fa0ba77764cf774b19a2db84e4bad55bef116b85e614f15f9eea820eb4861ca787823fa
6Size (Pyro4-4.63.tar.gz) = 473950 bytes 6Size (Pyro4-4.74.tar.gz) = 470762 bytes