pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-Pyro py-Pyro: updated to 4.74
details: https://anonhg.NetBSD.org/pkgsrc/rev/a085c54df36b
branches: trunk
changeset: 388937:a085c54df36b
user: adam <adam%pkgsrc.org@localhost>
date: Sun Dec 16 14:33:24 2018 +0000
description:
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.
diffstat:
devel/py-Pyro/Makefile | 15 +++++++++++----
devel/py-Pyro/PLIST | 17 ++++++++++-------
devel/py-Pyro/distinfo | 10 +++++-----
3 files changed, 26 insertions(+), 16 deletions(-)
diffs (79 lines):
diff -r 651e0a425d73 -r a085c54df36b devel/py-Pyro/Makefile
--- a/devel/py-Pyro/Makefile Sun Dec 16 14:20:45 2018 +0000
+++ b/devel/py-Pyro/Makefile Sun Dec 16 14:33:24 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2017/10/31 12:53:58 adam Exp $
+# $NetBSD: Makefile,v 1.23 2018/12/16 14:33:24 adam Exp $
-DISTNAME= Pyro4-4.63
+DISTNAME= Pyro4-4.74
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/}
@@ -10,11 +10,18 @@
COMMENT= Distributed Object Technology system in Python
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-serpent>=1.23:../../devel/py-serpent
+DEPENDS+= ${PYPKGPREFIX}-serpent>=1.27:../../devel/py-serpent
USE_LANGUAGES= # none
-PYTHON_SELF_CONFLICT= yes
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pyro4-check-config pyro4-check-config-${PYVERSSUFFIX} && \
+ ${MV} pyro4-flameserver pyro4-flameserver-${PYVERSSUFFIX} && \
+ ${MV} pyro4-httpgateway pyro4-httpgateway-${PYVERSSUFFIX} && \
+ ${MV} pyro4-ns pyro4-ns-${PYVERSSUFFIX} && \
+ ${MV} pyro4-nsc pyro4-nsc-${PYVERSSUFFIX} && \
+ ${MV} pyro4-test-echoserver pyro4-test-echoserver-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}/tests && ${PYTHONBIN} run_testsuite.py
diff -r 651e0a425d73 -r a085c54df36b devel/py-Pyro/PLIST
--- a/devel/py-Pyro/PLIST Sun Dec 16 14:20:45 2018 +0000
+++ b/devel/py-Pyro/PLIST Sun Dec 16 14:33:24 2018 +0000
@@ -1,10 +1,10 @@
-@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
+@comment $NetBSD: PLIST,v 1.8 2018/12/16 14:33:24 adam Exp $
+bin/pyro4-check-config-${PYVERSSUFFIX}
+bin/pyro4-flameserver-${PYVERSSUFFIX}
+bin/pyro4-httpgateway-${PYVERSSUFFIX}
+bin/pyro4-ns-${PYVERSSUFFIX}
+bin/pyro4-nsc-${PYVERSSUFFIX}
+bin/pyro4-test-echoserver-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -44,6 +44,9 @@
${PYSITELIB}/Pyro4/socketserver/__init__.py
${PYSITELIB}/Pyro4/socketserver/__init__.pyc
${PYSITELIB}/Pyro4/socketserver/__init__.pyo
+${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.py
+${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.pyc
+${PYSITELIB}/Pyro4/socketserver/existingconnectionserver.pyo
${PYSITELIB}/Pyro4/socketserver/multiplexserver.py
${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyc
${PYSITELIB}/Pyro4/socketserver/multiplexserver.pyo
diff -r 651e0a425d73 -r a085c54df36b devel/py-Pyro/distinfo
--- a/devel/py-Pyro/distinfo Sun Dec 16 14:20:45 2018 +0000
+++ b/devel/py-Pyro/distinfo Sun Dec 16 14:33:24 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2017/10/31 12:53:58 adam Exp $
+$NetBSD: distinfo,v 1.9 2018/12/16 14:33:24 adam Exp $
-SHA1 (Pyro4-4.63.tar.gz) = 89b635d05e5cca38b3c581e7e648a8eb41674b89
-RMD160 (Pyro4-4.63.tar.gz) = cc9accf72309923e5984b5d6289425ef560f125b
-SHA512 (Pyro4-4.63.tar.gz) = 2a73a38f26601a9d5c63d80018e4334a95bf2b49d52ea335526b9cc898a7472c13c7933a0091f9f625fa9dc2dfea9c085d56befa02c5a647f9a3f76ba5880ac3
-Size (Pyro4-4.63.tar.gz) = 473950 bytes
+SHA1 (Pyro4-4.74.tar.gz) = 526b5acf260d95a75e1507e6f646659d5c416576
+RMD160 (Pyro4-4.74.tar.gz) = 7d4c76edd38378426e530c5584c79ca99fdd0a89
+SHA512 (Pyro4-4.74.tar.gz) = f5a1f8d7e69d6a96d7fb116e6ec67f71fe5763320b1d82ba739612cb2fa0ba77764cf774b19a2db84e4bad55bef116b85e614f15f9eea820eb4861ca787823fa
+Size (Pyro4-4.74.tar.gz) = 470762 bytes
Home |
Main Index |
Thread Index |
Old Index