summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-02-02 10:16:30 +0000
committerfhajny <fhajny@pkgsrc.org>2017-02-02 10:16:30 +0000
commit030a3e6b7b079f5ff7d3148b7405a58033d83bff (patch)
tree1f8b387867f3aa5b6128e0bfda9e56bd3a236e03 /net
parentc79fc7395a83a40b0488ad3ca831ecf78fd167e8 (diff)
downloadpkgsrc-030a3e6b7b079f5ff7d3148b7405a58033d83bff.tar.gz
Update net/py-zmq to 16.0.2.
16.0.2 - Workaround bug in libzmq-4.2.0 causing EINVAL on poll. 16.0.1 - Fix erroneous EAGAIN that could happen on async sockets - Bundle libzmq 4.1.6 16.0 - Support for Python 2.6 and Python 3.2 is dropped. For old Pythons, use :command:`pip install "pyzmq<16"` to get the last version of pyzmq that supports these versions. - Include zmq.h - Deprecate zmq.Stopwatch. Native Python timing tools can be used instead. - Better support for using pyzmq as a Cython library - bundle zmq.h when pyzmq bundles libzmq as an extension - add :func:`zmq.get_library_dirs` to find bundled libzmq - Updates to setup.py for Cython 0.25 compatibility - Various asyncio/future fixes: - support raw sockets in pollers - allow cancelling async sends - Fix :meth:`IOLoop.current` in :mod:`zmq.green` 15.4 - Load bundled libzmq extension with import rather than CDLL, which should fix some manifest issues in certain cases on Windows. - Avoid installing asyncio sources on Python 2, which confuses some tools that run python -m compileall, which reports errors on the Python 3-only files. - Bundle msvcp.dll in Windows wheels on CPython 3.5, which should fix wheel compatibility systems without Visual C++ 2015 redistributable. - :meth:`zmq.Context.instance` is now threadsafe. - FIX: sync some behavior in zmq_poll and setting LINGER on close/destroy with the CFFI backend. - PERF: resolve send/recv immediately if events are available in async Sockets - Async Sockets (asyncio, tornado) now support send_json, send_pyobj, etc. - add preliminary support for zmq.DRAFT_API reflecting ZMQ_BUILD_DRAFT_API, which indicates whether new APIs in prereleases are available. 15.3 - Bump bundled libzmq to 4.1.5, using tweetnacl for bundled curve support instead of libsodium - FIX: include .pxi includes in installation for consumers of Cython API - FIX: various fixes in new async sockets - Introduce :mod:`zmq.decorators` API for decorating functions to create sockets or contexts - Add :meth:`zmq.Socket.subscribe` and :meth:`zmq.Socket.unsubscribe` methods to sockets, so that assignment is no longer needed for subscribing. Verbs should be methods! Assignment is still supported for backward-compatibility. - Accept text (unicode) input to z85 encoding, not just bytes - :meth:`zmq.Context.socket` forwards keyword arguments to the :class:`Socket` constructor 15.2 - FIX: handle multiple events in a single register call in :mod:`zmq.asyncio` - FIX: unicode/bytes bug in password prompt in :mod:`zmq.ssh` on Python 3 - FIX: workaround gevent monkeypatches in garbage collection thread - update bundled minitornado from tornado-4.3. - improved inspection by setting binding=True in cython compile options - add asyncio Authenticator implementation in :mod:`zmq.auth.asyncio` - workaround overflow bug in libzmq preventing receiving messages larger than MAX_INT 15.1 - FIX: Remove inadvertant tornado dependency when using :mod:`zmq.asyncio` - FIX: 15.0 Python 3.5 wheels didn't work on Windows - Add GSSAPI support to Authenticators - Support new constants defined in upcoming libzmq-4.2.dev 15.0 - PyZMQ 15 adds Future-returning sockets and pollers for both :mod:`asyncio` and :mod:`tornado`. - add :mod:`asyncio` support via :mod:`zmq.asyncio` - add :mod:`tornado` future support via :mod:`zmq.eventloop.future` - trigger bundled libzmq if system libzmq is found to be < 3. System libzmq 2 can be forced by explicitly requesting --zmq=/prefix/. 14.7.0 Changes: - Update bundled libzmq to 4.1.2. - Following the lead of Python 3.5, interrupted system calls will be retried. Fixes: - Fixes for CFFI backend on Python 3 + support for PyPy 3. - Verify types of all frames in :meth:`~zmq.Socket.send_multipart` before sending, to avoid partial messages. - Fix build on Windows when both debug and release versions of libzmq are found. - Windows build fixes for Python 3.5. 14.6.0 Changes: - improvements in :meth:`zmq.Socket.bind_to_random_port`: - use system to allocate ports by default - catch EACCES on Windows - include libsodium when building bundled libzmq on Windows (includes wheels on PyPI) - pyzmq no longer bundles external libzmq when making a bdist. You can use delocate to do this. Bugfixes: - add missing :attr:`ndim` on memoryviews of Frames - allow :func:`copy.copy` and :func:`copy.deepcopy` on Sockets, Contexts 14.5.0 Changes: - use pickle.DEFAULT_PROTOCOL by default in send_pickle - with the release of pip-6, OS X wheels are only marked as 10.6-intel, indicating that they should be installable on any newer or single-arch Python. - raise SSHException on failed check of host key Bugfixes: - fix method name in utils.wi32.allow_interrupt - fork-related fixes in garbage collection thread - add missing import in zmq.__init__, causing failure to import in some circumstances
Diffstat (limited to 'net')
-rw-r--r--net/py-zmq/Makefile4
-rw-r--r--net/py-zmq/PLIST32
-rw-r--r--net/py-zmq/distinfo10
3 files changed, 34 insertions, 12 deletions
diff --git a/net/py-zmq/Makefile b/net/py-zmq/Makefile
index 1e900348815..25be0491022 100644
--- a/net/py-zmq/Makefile
+++ b/net/py-zmq/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2016/06/08 17:43:36 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/02/02 10:16:30 fhajny Exp $
-DISTNAME= pyzmq-14.4.1
+DISTNAME= pyzmq-16.0.2
PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/1}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyzmq/}
diff --git a/net/py-zmq/PLIST b/net/py-zmq/PLIST
index 29b37d09557..3230ff8a9b0 100644
--- a/net/py-zmq/PLIST
+++ b/net/py-zmq/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2014/11/15 02:09:46 obache Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/02/02 10:16:30 fhajny Exp $
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/zmq/__init__.py
${PYSITELIB}/zmq/__init__.pyc
@@ -60,6 +60,8 @@ ${PYSITELIB}/zmq/backend/cython/_device.so
${PYSITELIB}/zmq/backend/cython/_poll.so
${PYSITELIB}/zmq/backend/cython/_version.so
${PYSITELIB}/zmq/backend/cython/checkrc.pxd
+${PYSITELIB}/zmq/backend/cython/constant_enums.pxi
+${PYSITELIB}/zmq/backend/cython/constants.pxi
${PYSITELIB}/zmq/backend/cython/constants.so
${PYSITELIB}/zmq/backend/cython/context.pxd
${PYSITELIB}/zmq/backend/cython/context.so
@@ -69,11 +71,13 @@ ${PYSITELIB}/zmq/backend/cython/message.pxd
${PYSITELIB}/zmq/backend/cython/message.so
${PYSITELIB}/zmq/backend/cython/socket.pxd
${PYSITELIB}/zmq/backend/cython/socket.so
-${PYSITELIB}/zmq/backend/cython/utils.pxd
${PYSITELIB}/zmq/backend/cython/utils.so
${PYSITELIB}/zmq/backend/select.py
${PYSITELIB}/zmq/backend/select.pyc
${PYSITELIB}/zmq/backend/select.pyo
+${PYSITELIB}/zmq/decorators.py
+${PYSITELIB}/zmq/decorators.pyc
+${PYSITELIB}/zmq/decorators.pyo
${PYSITELIB}/zmq/devices/__init__.py
${PYSITELIB}/zmq/devices/__init__.pyc
${PYSITELIB}/zmq/devices/__init__.pyo
@@ -97,6 +101,9 @@ ${PYSITELIB}/zmq/error.pyo
${PYSITELIB}/zmq/eventloop/__init__.py
${PYSITELIB}/zmq/eventloop/__init__.pyc
${PYSITELIB}/zmq/eventloop/__init__.pyo
+${PYSITELIB}/zmq/eventloop/future.py
+${PYSITELIB}/zmq/eventloop/future.pyc
+${PYSITELIB}/zmq/eventloop/future.pyo
${PYSITELIB}/zmq/eventloop/ioloop.py
${PYSITELIB}/zmq/eventloop/ioloop.pyc
${PYSITELIB}/zmq/eventloop/ioloop.pyo
@@ -196,6 +203,9 @@ ${PYSITELIB}/zmq/sugar/poll.pyo
${PYSITELIB}/zmq/sugar/socket.py
${PYSITELIB}/zmq/sugar/socket.pyc
${PYSITELIB}/zmq/sugar/socket.pyo
+${PYSITELIB}/zmq/sugar/stopwatch.py
+${PYSITELIB}/zmq/sugar/stopwatch.pyc
+${PYSITELIB}/zmq/sugar/stopwatch.pyo
${PYSITELIB}/zmq/sugar/tracker.py
${PYSITELIB}/zmq/sugar/tracker.pyc
${PYSITELIB}/zmq/sugar/tracker.pyo
@@ -217,6 +227,9 @@ ${PYSITELIB}/zmq/tests/test_constants.pyo
${PYSITELIB}/zmq/tests/test_context.py
${PYSITELIB}/zmq/tests/test_context.pyc
${PYSITELIB}/zmq/tests/test_context.pyo
+${PYSITELIB}/zmq/tests/test_decorators.py
+${PYSITELIB}/zmq/tests/test_decorators.pyc
+${PYSITELIB}/zmq/tests/test_decorators.pyo
${PYSITELIB}/zmq/tests/test_device.py
${PYSITELIB}/zmq/tests/test_device.pyc
${PYSITELIB}/zmq/tests/test_device.pyo
@@ -226,9 +239,15 @@ ${PYSITELIB}/zmq/tests/test_error.pyo
${PYSITELIB}/zmq/tests/test_etc.py
${PYSITELIB}/zmq/tests/test_etc.pyc
${PYSITELIB}/zmq/tests/test_etc.pyo
+${PYSITELIB}/zmq/tests/test_future.py
+${PYSITELIB}/zmq/tests/test_future.pyc
+${PYSITELIB}/zmq/tests/test_future.pyo
${PYSITELIB}/zmq/tests/test_imports.py
${PYSITELIB}/zmq/tests/test_imports.pyc
${PYSITELIB}/zmq/tests/test_imports.pyo
+${PYSITELIB}/zmq/tests/test_includes.py
+${PYSITELIB}/zmq/tests/test_includes.pyc
+${PYSITELIB}/zmq/tests/test_includes.pyo
${PYSITELIB}/zmq/tests/test_ioloop.py
${PYSITELIB}/zmq/tests/test_ioloop.pyc
${PYSITELIB}/zmq/tests/test_ioloop.pyo
@@ -259,15 +278,18 @@ ${PYSITELIB}/zmq/tests/test_pubsub.pyo
${PYSITELIB}/zmq/tests/test_reqrep.py
${PYSITELIB}/zmq/tests/test_reqrep.pyc
${PYSITELIB}/zmq/tests/test_reqrep.pyo
+${PYSITELIB}/zmq/tests/test_retry_eintr.py
+${PYSITELIB}/zmq/tests/test_retry_eintr.pyc
+${PYSITELIB}/zmq/tests/test_retry_eintr.pyo
${PYSITELIB}/zmq/tests/test_security.py
${PYSITELIB}/zmq/tests/test_security.pyc
${PYSITELIB}/zmq/tests/test_security.pyo
${PYSITELIB}/zmq/tests/test_socket.py
${PYSITELIB}/zmq/tests/test_socket.pyc
${PYSITELIB}/zmq/tests/test_socket.pyo
-${PYSITELIB}/zmq/tests/test_stopwatch.py
-${PYSITELIB}/zmq/tests/test_stopwatch.pyc
-${PYSITELIB}/zmq/tests/test_stopwatch.pyo
+${PYSITELIB}/zmq/tests/test_ssh.py
+${PYSITELIB}/zmq/tests/test_ssh.pyc
+${PYSITELIB}/zmq/tests/test_ssh.pyo
${PYSITELIB}/zmq/tests/test_version.py
${PYSITELIB}/zmq/tests/test_version.pyc
${PYSITELIB}/zmq/tests/test_version.pyo
diff --git a/net/py-zmq/distinfo b/net/py-zmq/distinfo
index ba2bff06681..5de9732c023 100644
--- a/net/py-zmq/distinfo
+++ b/net/py-zmq/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 00:35:33 agc Exp $
+$NetBSD: distinfo,v 1.10 2017/02/02 10:16:30 fhajny Exp $
-SHA1 (pyzmq-14.4.1.tar.gz) = 336e252846d3c1005ac51aaf0587ec756dc7ca99
-RMD160 (pyzmq-14.4.1.tar.gz) = 51b3def9c4510c06b1d73b18b88643d113de74f3
-SHA512 (pyzmq-14.4.1.tar.gz) = 4b71677e4bfa771177a34dbff59cf6dfd54310a8996689a3d62902aaba35c7cf2ad6b7da806f9e189ad4b89fcefe9cbb3e192788eecd5d2c269e8a980b4d50fa
-Size (pyzmq-14.4.1.tar.gz) = 995366 bytes
+SHA1 (pyzmq-16.0.2.tar.gz) = ad91c8d50f4c85e2e321511914d2420ad3603c49
+RMD160 (pyzmq-16.0.2.tar.gz) = 7973c1c58a515ece5b97b74eda8d7a057ec018a8
+SHA512 (pyzmq-16.0.2.tar.gz) = 40eaf8ce39db86ab3866890d74b92bd6f20d4ae827828a8772003656d899d10ffcfc222d21f344d9daba390824e6c43b9f34e31beb604ec5ee1ec199165f4b96
+Size (pyzmq-16.0.2.tar.gz) = 1026531 bytes