pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-twisted py-twisted: updated to 18.7.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/b01561b61c33
branches: trunk
changeset: 310805:b01561b61c33
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 24 15:10:04 2018 +0000
description:
py-twisted: updated to 18.7.0
Twisted 18.7.0:
Features
--------
- Cancelling a Deferred returned by twisted.internet.defer.inlineCallbacks now cancels the Deferred it is waiting on.
- twisted.application.internet.ClientService now accepts a function to initialize or validate a connection before it is returned by the whenConnected method as the prepareConnection argument.
- Traceback generated for twisted.internet.defer.inlineCallbacks now includes the full stack of inlineCallbacks generators between catcher and raiser (before it only contained raiser's stack).
- Add optional cwd argument to twisted.runner.procmon.ProcMon.addProcess
- twisted.python.failure.Failure tracebacks generated by coroutines scheduled with twisted.internet.defer.ensureDeferred - i.e. any Deferred-awaiting coroutine - now contain fewer extraneous frames
from the trampoline implementation, and correctly indicate the source of exceptions raised in other call stacks - i.e. the function that raised the exception. In other words: if you 'await' a
function that raises an exception, you'll be able to see where the error came from.
Bugfixes
--------
- On UNIX-like platforms, Twisted attempts to recover from EMFILE when accepting connections on TCP and UNIX ports by shedding incoming clients.
- The documentation of IReactorTime.getDelayedCalls() has been corrected to indicate that the method returns a list, not a tuple.
- "python -m twisted web --help" now refers to "--listen" instead of the non-existing "--http"
- twisted.python.htmlizer.TokenPrinter now explicitly works on bytestrings.
- twisted.enterprise.adbapi.ConnectionPool.runWithConnection and runInteraction now use the reactor that is passed to ConnectionPool's constructor.
Improved Documentation
----------------------
- The Twisted Coding Standard now contains examples of how to mark up a feature as added in the next Twisted release.
Deprecations and Removals
-------------------------
- Deprecate direct introspection of ProcMon's processes: processes should not be directly accessed or pickled.
- twisted.internet.address.IPv4Address._bwHack and twisted.internet.address.UNIXAddress._bwHack, as well as the parameters to the constructors, deprecated since Twisted 11.0, have been removed.
diffstat:
net/py-twisted/Makefile | 16 ++-
net/py-twisted/Makefile.common | 6 +-
net/py-twisted/PLIST | 87 ++++++-------
net/py-twisted/distinfo | 12 +-
net/py-twisted/patches/patch-src_twisted_python___setup.py | 3 +-
5 files changed, 63 insertions(+), 61 deletions(-)
diffs (268 lines):
diff -r 6e190cfe503f -r b01561b61c33 net/py-twisted/Makefile
--- a/net/py-twisted/Makefile Tue Jul 24 15:08:19 2018 +0000
+++ b/net/py-twisted/Makefile Tue Jul 24 15:10:04 2018 +0000
@@ -1,17 +1,20 @@
-# $NetBSD: Makefile,v 1.37 2017/12/24 13:44:56 wiedi Exp $
+# $NetBSD: Makefile,v 1.38 2018/07/24 15:10:04 adam Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
COMMENT= Framework for writing networked applications
.include "../../net/py-twisted/Makefile.common"
+DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-automat>=0.3.0:../../devel/py-automat
DEPENDS+= ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly
+DEPENDS+= ${PYPKGPREFIX}-hamcrest>=1.9.0:../../devel/py-hamcrest
DEPENDS+= ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink
-DEPENDS+= ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-incremental>=16.10.1:../../devel/py-incremental
+DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=4.4.2:../../devel/py-ZopeInterface
+# TLS
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=16.0.0:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
-DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.0.1:../../devel/py-ZopeInterface
+DEPENDS+= ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
REPLACE_PYTHON+= src/twisted/mail/test/pop3testserver.py
REPLACE_PYTHON+= src/twisted/trial/test/scripttest.py
@@ -19,6 +22,13 @@
USE_LANGUAGES= c99
+.include "../../lang/python/pyversion.mk"
+# Temporary fix for Python 3.7: omit files that do not compile
+PLIST_VARS+= async
+.if ${_PYTHON_VERSION} != "37"
+PLIST.async= yes
+.endif
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
for i in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd; do \
diff -r 6e190cfe503f -r b01561b61c33 net/py-twisted/Makefile.common
--- a/net/py-twisted/Makefile.common Tue Jul 24 15:08:19 2018 +0000
+++ b/net/py-twisted/Makefile.common Tue Jul 24 15:10:04 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.common,v 1.40 2017/10/19 08:50:34 adam Exp $
+# $NetBSD: Makefile.common,v 1.41 2018/07/24 15:10:04 adam Exp $
#
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= Twisted-17.9.0
+DISTNAME= Twisted-18.7.0
CATEGORIES= net python
-MASTER_SITES= http://twistedmatrix.com/Releases/Twisted/${PKGVERSION_NOREV:R}/
+MASTER_SITES= ${MASTER_SITE_PYPI:=T/Twisted/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER?= pkgsrc-users%NetBSD.org@localhost
diff -r 6e190cfe503f -r b01561b61c33 net/py-twisted/PLIST
--- a/net/py-twisted/PLIST Tue Jul 24 15:08:19 2018 +0000
+++ b/net/py-twisted/PLIST Tue Jul 24 15:10:04 2018 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.29 2017/10/19 08:50:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.30 2018/07/24 15:10:04 adam Exp $
bin/cftp-${PYVERSSUFFIX}
bin/ckeygen-${PYVERSSUFFIX}
bin/conch-${PYVERSSUFFIX}
-${PLIST.py2x}bin/mailmail-${PYVERSSUFFIX}
+bin/mailmail-${PYVERSSUFFIX}
bin/pyhtmlizer-${PYVERSSUFFIX}
bin/tkconch-${PYVERSSUFFIX}
bin/trial-${PYVERSSUFFIX}
@@ -193,8 +193,8 @@
${PYSITELIB}/twisted/conch/ls.pyc
${PYSITELIB}/twisted/conch/ls.pyo
${PYSITELIB}/twisted/conch/manhole.py
-${PYSITELIB}/twisted/conch/manhole.pyc
-${PYSITELIB}/twisted/conch/manhole.pyo
+${PLIST.async}${PYSITELIB}/twisted/conch/manhole.pyc
+${PLIST.async}${PYSITELIB}/twisted/conch/manhole.pyo
${PYSITELIB}/twisted/conch/manhole_ssh.py
${PYSITELIB}/twisted/conch/manhole_ssh.pyc
${PYSITELIB}/twisted/conch/manhole_ssh.pyo
@@ -558,21 +558,12 @@
${PYSITELIB}/twisted/internet/iocpreactor/abstract.py
${PYSITELIB}/twisted/internet/iocpreactor/abstract.pyc
${PYSITELIB}/twisted/internet/iocpreactor/abstract.pyo
-${PYSITELIB}/twisted/internet/iocpreactor/build.bat
${PYSITELIB}/twisted/internet/iocpreactor/const.py
${PYSITELIB}/twisted/internet/iocpreactor/const.pyc
${PYSITELIB}/twisted/internet/iocpreactor/const.pyo
${PYSITELIB}/twisted/internet/iocpreactor/interfaces.py
${PYSITELIB}/twisted/internet/iocpreactor/interfaces.pyc
${PYSITELIB}/twisted/internet/iocpreactor/interfaces.pyo
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/acceptex.pxi
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/iocpsupport.c
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/iocpsupport.pyx
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/winsock_pointers.c
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/winsock_pointers.h
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/wsarecv.pxi
-${PYSITELIB}/twisted/internet/iocpreactor/iocpsupport/wsasend.pxi
${PYSITELIB}/twisted/internet/iocpreactor/notes.txt
${PYSITELIB}/twisted/internet/iocpreactor/reactor.py
${PYSITELIB}/twisted/internet/iocpreactor/reactor.pyc
@@ -674,6 +665,9 @@
${PYSITELIB}/twisted/internet/test/test_address.py
${PYSITELIB}/twisted/internet/test/test_address.pyc
${PYSITELIB}/twisted/internet/test/test_address.pyo
+${PYSITELIB}/twisted/internet/test/test_asyncioreactor.py
+${PYSITELIB}/twisted/internet/test/test_asyncioreactor.pyc
+${PYSITELIB}/twisted/internet/test/test_asyncioreactor.pyo
${PYSITELIB}/twisted/internet/test/test_base.py
${PYSITELIB}/twisted/internet/test/test_base.pyc
${PYSITELIB}/twisted/internet/test/test_base.pyo
@@ -896,9 +890,9 @@
${PYSITELIB}/twisted/logger/test/test_util.py
${PYSITELIB}/twisted/logger/test/test_util.pyc
${PYSITELIB}/twisted/logger/test/test_util.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/__init__.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/__init__.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/__init__.pyo
+${PYSITELIB}/twisted/mail/__init__.py
+${PYSITELIB}/twisted/mail/__init__.pyc
+${PYSITELIB}/twisted/mail/__init__.pyo
${PYSITELIB}/twisted/mail/_cred.py
${PYSITELIB}/twisted/mail/_cred.pyc
${PYSITELIB}/twisted/mail/_cred.pyo
@@ -912,8 +906,8 @@
${PLIST.py2x}${PYSITELIB}/twisted/mail/bounce.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/bounce.pyo
${PYSITELIB}/twisted/mail/imap4.py
-${PYSITELIB}/twisted/mail/imap4.pyc
-${PYSITELIB}/twisted/mail/imap4.pyo
+${PLIST.async}${PYSITELIB}/twisted/mail/imap4.pyc
+${PLIST.async}${PYSITELIB}/twisted/mail/imap4.pyo
${PYSITELIB}/twisted/mail/interfaces.py
${PYSITELIB}/twisted/mail/interfaces.pyc
${PYSITELIB}/twisted/mail/interfaces.pyo
@@ -926,27 +920,27 @@
${PLIST.py2x}${PYSITELIB}/twisted/mail/pb.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/pb.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/pb.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3client.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3client.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/pop3client.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/protocols.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/protocols.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/protocols.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/relay.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/relay.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/relay.pyo
+${PYSITELIB}/twisted/mail/pop3.py
+${PYSITELIB}/twisted/mail/pop3.pyc
+${PYSITELIB}/twisted/mail/pop3.pyo
+${PYSITELIB}/twisted/mail/pop3client.py
+${PYSITELIB}/twisted/mail/pop3client.pyc
+${PYSITELIB}/twisted/mail/pop3client.pyo
+${PYSITELIB}/twisted/mail/protocols.py
+${PYSITELIB}/twisted/mail/protocols.pyc
+${PYSITELIB}/twisted/mail/protocols.pyo
+${PYSITELIB}/twisted/mail/relay.py
+${PYSITELIB}/twisted/mail/relay.pyc
+${PYSITELIB}/twisted/mail/relay.pyo
${PLIST.py2x}${PYSITELIB}/twisted/mail/relaymanager.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/relaymanager.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/relaymanager.pyo
${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/__init__.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/__init__.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/mailmail.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/mailmail.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/scripts/mailmail.pyo
+${PYSITELIB}/twisted/mail/scripts/mailmail.py
+${PYSITELIB}/twisted/mail/scripts/mailmail.pyc
+${PYSITELIB}/twisted/mail/scripts/mailmail.pyo
${PYSITELIB}/twisted/mail/smtp.py
${PYSITELIB}/twisted/mail/smtp.pyc
${PYSITELIB}/twisted/mail/smtp.pyo
@@ -956,9 +950,9 @@
${PYSITELIB}/twisted/mail/test/__init__.py
${PYSITELIB}/twisted/mail/test/__init__.pyc
${PYSITELIB}/twisted/mail/test/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/pop3testserver.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/pop3testserver.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/pop3testserver.pyo
+${PYSITELIB}/twisted/mail/test/pop3testserver.py
+${PYSITELIB}/twisted/mail/test/pop3testserver.pyc
+${PYSITELIB}/twisted/mail/test/pop3testserver.pyo
${PYSITELIB}/twisted/mail/test/rfc822.message
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_bounce.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_bounce.pyc
@@ -969,18 +963,18 @@
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mail.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mail.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mail.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mailmail.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mailmail.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_mailmail.pyo
+${PYSITELIB}/twisted/mail/test/test_mailmail.py
+${PYSITELIB}/twisted/mail/test/test_mailmail.pyc
+${PYSITELIB}/twisted/mail/test/test_mailmail.pyo
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_options.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_options.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_options.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3client.py
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3client.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_pop3client.pyo
+${PYSITELIB}/twisted/mail/test/test_pop3.py
+${PYSITELIB}/twisted/mail/test/test_pop3.pyc
+${PYSITELIB}/twisted/mail/test/test_pop3.pyo
+${PYSITELIB}/twisted/mail/test/test_pop3client.py
+${PYSITELIB}/twisted/mail/test/test_pop3client.pyc
+${PYSITELIB}/twisted/mail/test/test_pop3client.pyo
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_scripts.py
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_scripts.pyc
${PLIST.py2x}${PYSITELIB}/twisted/mail/test/test_scripts.pyo
@@ -1392,7 +1386,6 @@
${PYSITELIB}/twisted/python/_release.py
${PYSITELIB}/twisted/python/_release.pyc
${PYSITELIB}/twisted/python/_release.pyo
-${PYSITELIB}/twisted/python/_sendmsg.c
${PLIST.py2x}${PYSITELIB}/twisted/python/_sendmsg.so
${PYSITELIB}/twisted/python/_setup.py
${PYSITELIB}/twisted/python/_setup.pyc
@@ -1791,8 +1784,6 @@
${PYSITELIB}/twisted/test/proto_helpers.py
${PYSITELIB}/twisted/test/proto_helpers.pyc
${PYSITELIB}/twisted/test/proto_helpers.pyo
-${PYSITELIB}/twisted/test/raiser.c
-${PYSITELIB}/twisted/test/raiser.pyx
${PYSITELIB}/twisted/test/raiser.so
${PYSITELIB}/twisted/test/reflect_helper_IE.py
${PYSITELIB}/twisted/test/reflect_helper_IE.pyc
diff -r 6e190cfe503f -r b01561b61c33 net/py-twisted/distinfo
--- a/net/py-twisted/distinfo Tue Jul 24 15:08:19 2018 +0000
+++ b/net/py-twisted/distinfo Tue Jul 24 15:10:04 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.35 2017/12/24 13:44:56 wiedi Exp $
+$NetBSD: distinfo,v 1.36 2018/07/24 15:10:04 adam Exp $
-SHA1 (Twisted-17.9.0.tar.bz2) = a218e69ab51b5c6b632043f91aed98bc92083a90
-RMD160 (Twisted-17.9.0.tar.bz2) = 5a4c088b2639eb844f57caaa646a611375078621
-SHA512 (Twisted-17.9.0.tar.bz2) = 0fb854db1044bfdb208594a379a0f8df0193326a9974e193266e82113488d49220648d4a50b323fa144654e94976f5848e1d60efed13ab2668b02cc795720345
-Size (Twisted-17.9.0.tar.bz2) = 3019243 bytes
-SHA1 (patch-src_twisted_python___setup.py) = 420e1d783fe08a24abb22e2b66de6e1b64a69a4c
+SHA1 (Twisted-18.7.0.tar.bz2) = 949c75da0426ca139a3128fecb484eeb7513087e
+RMD160 (Twisted-18.7.0.tar.bz2) = 97c7052cbad9d4a48eadccee974b5f19f4b3a64f
+SHA512 (Twisted-18.7.0.tar.bz2) = feefa578bc1787648df07e4a53bd6fe29b43c4357472e4fba37526f075be9263e8c671b6781ce6ad3569c1b1666cb702efbee903f597714a749971695018f826
+Size (Twisted-18.7.0.tar.bz2) = 3063847 bytes
+SHA1 (patch-src_twisted_python___setup.py) = 3c1a44f4249d545426d1a63ca09ffbd1761d1a3a
diff -r 6e190cfe503f -r b01561b61c33 net/py-twisted/patches/patch-src_twisted_python___setup.py
--- a/net/py-twisted/patches/patch-src_twisted_python___setup.py Tue Jul 24 15:08:19 2018 +0000
+++ b/net/py-twisted/patches/patch-src_twisted_python___setup.py Tue Jul 24 15:10:04 2018 +0000
@@ -1,4 +1,5 @@
-$NetBSD: patch-src_twisted_python___setup.py,v 1.1 2017/12/24 13:44:56 wiedi Exp $
+$NetBSD: patch-src_twisted_python___setup.py,v 1.2 2018/07/24 15:10:04 adam Exp $
+
Allow building with a c99 compiler on SunOS
--- src/twisted/python/_setup.py.orig 2017-09-23 05:51:46.000000000 +0000
Home |
Main Index |
Thread Index |
Old Index