From a8e9eeb72276f98a3bd49e49719f6884fcb1a666 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 13 Apr 2016 18:19:49 +0000 Subject: [PATCH] Update py-foolscap to 0.11.0. * Release 0.11.0 (23-Mar-2016) ** Packaging Fixes Foolscap now declares a dependency on "twisted[tls]" instead of just "twisted": the "[tls]" extra means "we need Twisted and its TLS support". That's how we ask for Twisted to depend upon service_identity and other supporting packages. By using "[tls]", we no longer need to manually depend upon service_identity ourselves. If Twisted switches to some other scheme for TLS support, this will correctly ask for that to be included. (#249) Note that we still depend on pyOpenSSL ourselves, because we need its code to control certificate validation (if Twisted actually moved away from pyOpenSSL for TLS, Foolscap might break altogether). The Twisted dependency was updated to >=16.0.0 (the current version), to get an important HostnameEndpoint fix (#155). The "flogtool", "flappserver", and "flappclient" executables are now provided as "entry_points" on all platforms, not just windows. The old bin/* scripts have been removed. The "flogtool" entrypoint was fixed (a one-character typo in the setup.py specification): apparently it was always broken on windows and nobody noticed. We now use "tox" to run tests, instead of "trial foolscap", although the latter is still fine when run in a virtualenv into which Foolscap has been installed (and is what "tox" does under the hood). This release also moves all source code from "foolscap/" to "src/foolscap/", which should avoid some confusion as to which code is being tested. Developers who work from a git checkout should manually "rm -rf foolscap" after pulling this change, because otherwise the leftover .pyc files are likely to cause spurious test failures. (#250, #251) ** partial IPv6 support Foolscap's outbound connections now use HostnameEndpoint, which means that connection hints which contain DNS names which map to AAAA (and maybe A6) records should successfully connect to those IPv6 addresses. There is not yet any support to *listen* on IPv6 ports, so this probably does not enable IPv6 completely. But a client running this release may be able to connect to server running some future IPv6-capable release and advertising v6-based hostnames. (#155) --- net/py-foolscap/Makefile | 6 +++--- net/py-foolscap/PLIST | 3 ++- net/py-foolscap/distinfo | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/net/py-foolscap/Makefile b/net/py-foolscap/Makefile index ce27cd86df61a..1d6a61b06b9ed 100644 --- a/net/py-foolscap/Makefile +++ b/net/py-foolscap/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2016/02/01 11:58:19 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2016/04/13 18:19:49 wiz Exp $ -DISTNAME= foolscap-0.10.1 +DISTNAME= foolscap-0.11.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= net python MASTER_SITES= http://pypi.python.org/packages/source/f/foolscap/ @@ -12,7 +12,7 @@ COMMENT= Foolscap contains an RPC protocol for Twisted LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.6.1:../../devel/py-ZopeInterface -DEPENDS+= ${PYPKGPREFIX}-twisted>=15.3.0:../../net/py-twisted +DEPENDS+= ${PYPKGPREFIX}-twisted>=16.0:../../net/py-twisted DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.6:../../security/py-OpenSSL PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-twisted diff --git a/net/py-foolscap/PLIST b/net/py-foolscap/PLIST index 1e7abccab36a1..62b57ef359492 100644 --- a/net/py-foolscap/PLIST +++ b/net/py-foolscap/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.7 2016/01/18 23:03:03 wiz Exp $ +@comment $NetBSD: PLIST,v 1.8 2016/04/13 18:19:49 wiz Exp $ bin/flappclient bin/flappserver bin/flogtool ${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}/foolscap/__init__.py diff --git a/net/py-foolscap/distinfo b/net/py-foolscap/distinfo index 512eb052600b0..39c49dc2ba252 100644 --- a/net/py-foolscap/distinfo +++ b/net/py-foolscap/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.11 2016/02/01 11:58:19 wiz Exp $ +$NetBSD: distinfo,v 1.12 2016/04/13 18:19:49 wiz Exp $ -SHA1 (foolscap-0.10.1.tar.gz) = 6157e55a4ccd8d2561499177df47ea6ce3ff3cff -RMD160 (foolscap-0.10.1.tar.gz) = cf86f4581a1a0c195a95098fd0f515ac6e2ff8e2 -SHA512 (foolscap-0.10.1.tar.gz) = 94577c2ad95235aad955ea1bc435b23d8c460cc658179556b204333df81359e773e692befcb0546f003a62aae24cc5dcaa85c1a06fef52cb7e32cdcf820613f7 -Size (foolscap-0.10.1.tar.gz) = 491548 bytes +SHA1 (foolscap-0.11.0.tar.gz) = 0cad5bc18cabffe2c2723c13ce4a268fd2757e41 +RMD160 (foolscap-0.11.0.tar.gz) = 1830713de8ea02b4c9bcec84275019a95dccd9d8 +SHA512 (foolscap-0.11.0.tar.gz) = 577cd15e7f9207a9675999590cb1189edbdd77a2daee5cab80d66d40b1343bcb338a064eedf372ca7f8a102ed1cef0770923d6dea27dd6c3b37c0717cdc912e8 +Size (foolscap-0.11.0.tar.gz) = 491916 bytes