summaryrefslogtreecommitdiff
path: root/net/py-twisted
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-07-22 12:08:14 +0000
committerwiz <wiz@pkgsrc.org>2014-07-22 12:08:14 +0000
commit45b27935b659ebc601338b9255333cf00058938d (patch)
treee9b47e41e37f8bdff858f7a416d2bea0d04098d1 /net/py-twisted
parent18ce6c545699b4c477916feaf9be9aa2b58bc65f (diff)
downloadpkgsrc-45b27935b659ebc601338b9255333cf00058938d.tar.gz
Update to 14.0.0.
Some parts are ported to python-3, but most parts not, so leave it disabled for now. Twisted Core 14.0.0 (2014-05-08) ================================ Features -------- - twisted.internet.interfaces.IUDPTransport - and that interface's implementations in Twisted - now supports enabling broadcasting. (#454) - trial's TestCase will now report a test method as an error if that test method is a generator function, preventing an issue when a user forgets to decorate a test method with defer.inlineCallbacks, causing the test method to not run. (#3917) - twisted.positioning, a new API for positioning systems such as GPS, has been added. It comes with an implementation of NMEA, the most common wire protocol for GPS devices. It will supersede twisted.protoocols.gps. (#3926) - The new interface twisted.internet.interfaces.IStreamClientEndpoint StringParserWithReactor will supply the reactor to its parseStreamClient method, passed along from twisted.internet.endpoints.clientFromString. (#5069) - IReactorUDP.listenUDP, IUDPTransport.write and IUDPTransport.connect now accept ipv6 address literals. (#5086) - A new API, twisted.internet.ssl.optionsForClientTLS, allows clients to specify and verify the identity of the peer they're communicating with. When used with the service_identity library from PyPI, this provides support for service identity verification from RFC 6125, as well as server name indication from RFC 6066. (#5190) - Twisted's TLS support now provides a way to ask for user-configured trust roots rather than having to manually configure such certificate authority certificates yourself. twisted.internet.ssl.CertificateOptions now accepts a new argument, trustRoot, which combines verification flags and trust sources, as well as a new function that provides a value for that argument, twisted.internet.ssl.platformTrust, which allows using the trusted platform certificate authorities from OpenSSL for certificate verification. (#5446) - Constants are now comparable/orderable based on the order in which they are defined. (#6523) - "setup.py install" and "pip install" now work on Python 3.3, installing the subset of Twisted that has been ported to Python 3. (#6539) - twisted.internet.ssl.CertificateOptions now supports ECDHE for servers by default on pyOpenSSL 0.14 and later, if the underlying versions of cryptography.io and OpenSSL support it. (#6586) - twisted.internet.ssl.CertificateOptions now allows the user to set acceptable ciphers and uses secure ones by default. (#6663) - The Deferred returned by twisted.internet.defer.DeferredFilesystemLock.deferUntilLocked can now be cancelled. (#6720) - twisted.internet.ssl.CertificateOptions now enables TLSv1.1 and TLSv1.2 by default (in addition to TLSv1.0) if the underlying version of OpenSSL supports these protocol versions. (#6772) - twisted.internet.ssl.CertificateOptions now supports Diffie-Hellman key exchange. (#6799) - twisted.internet.ssl.CertificateOptions now disables TLS compression to avoid CRIME attacks and, for servers, uses server preference to choose the cipher. (#6801) - SSL server endpoint string descriptions now support the specification of Diffie-Hellman key exchange parameter files. (#6924) - twisted.python.reflect.requireModule was added to handle conditional imports of python modules and work around pyflakes warnings of unused imports code. (#7014) Bugfixes -------- - If a ProcessProtocol.processExited method raised an exception a broken process handler would be left in the global process state leading to errors later on. This has been fixed and now an error will be logged instead. (#5151) - Twisted now builds on Solaris. Note that lacking a Buildbot slave (see http://buildbot.twistedmatrix.com/boxes-supported) Solaris is not a supported Twisted platform. (#5728) - twisted.internet.utils is now correctly installed on Python 3. (#6929) - twisted.python.threadpool.ThreadPool no longer starts new workers when its pool size is changed while the pool is not running. (#7011) Improved Documentation ---------------------- - Twisted now uses the Sphinx documentation generator for its narrative documentation, which means that the source format for narrative documentation has been converted to ReStructuredText. (#4500) - The Sphinx documentation is now also configured to allow intersphinx links to standard library documentation. (#4582) - The docstring for twisted.internet.task.react now better documents the main parameter (#6071) - The writing standard now explicitly mandates the usage of ungendered pronouns. (#6858) Deprecations and Removals ------------------------- - test_import.py was removed as it was redundant. (#2053) - Support for versions of pyOpenSSL older than 0.10 has been removed. Affected users should upgrade pyOpenSSL. (#5014) - twisted.internet.interfaces.IStreamClientEndpointStringParser is now deprecated in favor of twisted.internet.interfaces.IStreamClien tEndpointStringParserWithReactor. (#5069) - unsignedID and setIDFunction, previously part of twisted.python.util and deprecated since 13.0, have now been removed. (#6707) - FTPClient.changeDirectory was deprecated in 8.2 and is now removed. (#6759) - twisted.internet.stdio.StandardIO.closeStdin, an alias for loseWriteConnection only available on POSIX and deprecated since 2.1, has been removed. (#6785) - twisted.python.reflect.getcurrent is now deprecated and must not be used. twisted.python.reflect.isinst is now deprecated in favor of the built-in isinstance. (#6859) Other ----- - #1822, #5929, #6239, #6537, #6565, #6614, #6632, #6690, #6784, #6792, #6795, #6821, #6843, #6846, #6854, #6856, #6857, #6872, #6892, #6902, #6906, #6922, #6926, #6936, #6941, #6942, #6943, #6944, #6945, #6946, #6948, #6979, #7001, #7049, #7051, #7094, #7098 Twisted Conch 14.0.0 (2014-05-08) ================================= Improved Documentation ---------------------- - The docstring for twisted.conch.ssh.userauth.SSHUserAuthClient is now clearer on how the preferredOrder instance variable is handled. (#6850) Other ----- - #6696, #6807, #7054 Twisted Lore 14.0.0 (2014-05-08) ================================ Deprecations and Removals ------------------------- - twisted.lore is now deprecated in favor of Sphinx. (#6907) Other ----- - #6998 Twisted Mail 14.0.0 (2014-05-08) ================================ Improved Documentation ---------------------- - twisted.mail.alias now has full API documentation. (#6637) - twisted.mail.tap now has full API documentation. (#6648) - twisted.mail.maildir now has full API documentation. (#6651) - twisted.mail.pop3client now has full API documentation. (#6653) - twisted.mail.protocols now has full API documentation. (#6654) - twisted.mail.pop now has full API documentation. (#6666) - twisted.mail.relay and twisted.mail.relaymanager now have full API documentation. (#6739) - twisted.mail.pop3client public classes now appear as part of the twisted.mail.pop3 API. (#6761) Other ----- - #6696 Twisted Names 14.0.0 (2014-05-08) ================================= Features -------- - twisted.names.root.Resolver now accepts a resolverFactory argument, which makes it possible to control how root.Resolver performs iterative queries to authoritative nameservers. (#6095) - twisted.names.dns.Message now has a repr method which shows only those instance flags, fields and sections which are set to non- default values. (#6847) - twisted.names.dns.Message now support rich comparison. (#6848) Bugfixes -------- - twisted.names.server.DNSServerFactory now responds with messages whose flags and fields are reset to their default values instead of copying these from the request. This means that AD and CD flags, and EDNS OPT records in the request are no longer mirrored back to the client. (#6645) Improved Documentation ---------------------- - twisted.names now has narrative documentation showing how to create a custom DNS server. (#6864) - twisted.names.server now has full API documentation. (#6886) - twisted.names now has narrative documentation explaining how to use its client APIs. (#6925) - twisted.names now has narrative documentation and examples showing how to perform reverse DNS lookups. (#6969) Other ----- - #5675, #6222, #6672, #6696, #6887, #6940, #6975, #6990 Twisted News 14.0.0 (2014-05-08) ================================ No significant changes have been made for this release. Other ----- - #6991 Twisted Pair 14.0.0 (2014-05-08) ================================ Features -------- - twisted.pair.tuntap now has complete test coverage, basic documentation, and works without the difficult-to-find system bindings it used to require. (#6169) Other ----- - #6898, #6931, #6993 Twisted Runner 14.0.0 (2014-05-08) ================================== No significant changes have been made for this release. Other ----- - #6992 Twisted Web 14.0.0 (2014-05-08) =============================== Features -------- - twisted.web.http.proxiedLogFormatter can now be used with twisted.web.http.HTTPFactory (and subclasses) to record X -Forwarded-For values to the access log when the HTTP server is deployed behind a reverse proxy. (#1468) - twisted.web.client.Agent now uses twisted.internet.ssl.CertificateOptions for SSL/TLS and benefits from its continuous improvements. (#6893) Bugfixes -------- - twisted.web.client.Agent now correctly manage flow-control on pooled connections, and therefore requests will no longer hang sometimes when deliverBody is not called synchronously within the callback on Request. (#6751) - twisted.web.client.Agent now verifies that the provided server certificate in a TLS connection is trusted by the platform. (#7042) - When requesting an HTTPS URL with twisted.web.client.Agent, the hostname of the presented certificate will be checked against the requested hostname; mismatches will now result in an error rather than a man-in-the-middle opportunity for attackers. This may break existing code that incorrectly depended on insecure behavior, but such code was erroneous and should be updated. (#4888) Other ----- - #5004, #6881, #6956 Twisted Words 14.0.0 (2014-05-08) ================================= Bugfixes -------- - twisted.words.protocols.jabber.sasl_mechansisms.DigestMD5 now works with unicode arguments. (#5066) Other ----- - #6696
Diffstat (limited to 'net/py-twisted')
-rw-r--r--net/py-twisted/Makefile.common6
-rw-r--r--net/py-twisted/PLIST69
-rw-r--r--net/py-twisted/distinfo8
3 files changed, 62 insertions, 21 deletions
diff --git a/net/py-twisted/Makefile.common b/net/py-twisted/Makefile.common
index aea1053f282..51fe038cb3a 100644
--- a/net/py-twisted/Makefile.common
+++ b/net/py-twisted/Makefile.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.15 2014/05/09 07:37:16 wiz Exp $
+# $NetBSD: Makefile.common,v 1.16 2014/07/22 12:08:14 wiz Exp $
# used by net/py-twisted/Makefile
# used by net/py-twisted-docs/Makefile
-DISTNAME= Twisted-13.2.0
+DISTNAME= Twisted-14.0.0
CATEGORIES= net python
MASTER_SITES= http://twistedmatrix.com/Releases/Twisted/${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.bz2
@@ -14,4 +14,4 @@ LICENSE= mit
DISTINFO_FILE?= ${.CURDIR}/../py-twisted/distinfo
PATCHDIR?= ${.CURDIR}/../py-twisted/patches
-PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 13.2.0
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # most parts not yet ported as of 14.0.0
diff --git a/net/py-twisted/PLIST b/net/py-twisted/PLIST
index 6063db1062a..323fcd2748b 100644
--- a/net/py-twisted/PLIST
+++ b/net/py-twisted/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2013/11/13 07:06:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.14 2014/07/22 12:08:14 wiz Exp $
bin/cftp
bin/ckeygen
bin/conch
@@ -362,9 +362,6 @@ ${PYSITELIB}/twisted/internet/_glibbase.pyo
${PYSITELIB}/twisted/internet/_newtls.py
${PYSITELIB}/twisted/internet/_newtls.pyc
${PYSITELIB}/twisted/internet/_newtls.pyo
-${PYSITELIB}/twisted/internet/_oldtls.py
-${PYSITELIB}/twisted/internet/_oldtls.pyc
-${PYSITELIB}/twisted/internet/_oldtls.pyo
${PYSITELIB}/twisted/internet/_pollingfile.py
${PYSITELIB}/twisted/internet/_pollingfile.pyc
${PYSITELIB}/twisted/internet/_pollingfile.pyo
@@ -917,6 +914,9 @@ ${PYSITELIB}/twisted/manhole/ui/test/test_gtk2manhole.pyo
${PYSITELIB}/twisted/names/__init__.py
${PYSITELIB}/twisted/names/__init__.pyc
${PYSITELIB}/twisted/names/__init__.pyo
+${PYSITELIB}/twisted/names/_rfc1982.py
+${PYSITELIB}/twisted/names/_rfc1982.pyc
+${PYSITELIB}/twisted/names/_rfc1982.pyo
${PYSITELIB}/twisted/names/_version.py
${PYSITELIB}/twisted/names/_version.pyc
${PYSITELIB}/twisted/names/_version.pyo
@@ -986,9 +986,15 @@ ${PYSITELIB}/twisted/names/test/test_names.pyo
${PYSITELIB}/twisted/names/test/test_resolve.py
${PYSITELIB}/twisted/names/test/test_resolve.pyc
${PYSITELIB}/twisted/names/test/test_resolve.pyo
+${PYSITELIB}/twisted/names/test/test_rfc1982.py
+${PYSITELIB}/twisted/names/test/test_rfc1982.pyc
+${PYSITELIB}/twisted/names/test/test_rfc1982.pyo
${PYSITELIB}/twisted/names/test/test_rootresolve.py
${PYSITELIB}/twisted/names/test/test_rootresolve.pyc
${PYSITELIB}/twisted/names/test/test_rootresolve.pyo
+${PYSITELIB}/twisted/names/test/test_server.py
+${PYSITELIB}/twisted/names/test/test_server.pyc
+${PYSITELIB}/twisted/names/test/test_server.pyo
${PYSITELIB}/twisted/names/test/test_srvconnect.py
${PYSITELIB}/twisted/names/test/test_srvconnect.pyc
${PYSITELIB}/twisted/names/test/test_srvconnect.pyo
@@ -1059,6 +1065,12 @@ ${PYSITELIB}/twisted/pair/test/test_ip.pyo
${PYSITELIB}/twisted/pair/test/test_rawudp.py
${PYSITELIB}/twisted/pair/test/test_rawudp.pyc
${PYSITELIB}/twisted/pair/test/test_rawudp.pyo
+${PYSITELIB}/twisted/pair/test/test_tuntap.py
+${PYSITELIB}/twisted/pair/test/test_tuntap.pyc
+${PYSITELIB}/twisted/pair/test/test_tuntap.pyo
+${PYSITELIB}/twisted/pair/testing.py
+${PYSITELIB}/twisted/pair/testing.pyc
+${PYSITELIB}/twisted/pair/testing.pyo
${PYSITELIB}/twisted/pair/topfiles/NEWS
${PYSITELIB}/twisted/pair/topfiles/README
${PYSITELIB}/twisted/pair/tuntap.py
@@ -1163,6 +1175,36 @@ ${PYSITELIB}/twisted/plugins/twisted_web.pyo
${PYSITELIB}/twisted/plugins/twisted_words.py
${PYSITELIB}/twisted/plugins/twisted_words.pyc
${PYSITELIB}/twisted/plugins/twisted_words.pyo
+${PYSITELIB}/twisted/positioning/__init__.py
+${PYSITELIB}/twisted/positioning/__init__.pyc
+${PYSITELIB}/twisted/positioning/__init__.pyo
+${PYSITELIB}/twisted/positioning/_sentence.py
+${PYSITELIB}/twisted/positioning/_sentence.pyc
+${PYSITELIB}/twisted/positioning/_sentence.pyo
+${PYSITELIB}/twisted/positioning/base.py
+${PYSITELIB}/twisted/positioning/base.pyc
+${PYSITELIB}/twisted/positioning/base.pyo
+${PYSITELIB}/twisted/positioning/ipositioning.py
+${PYSITELIB}/twisted/positioning/ipositioning.pyc
+${PYSITELIB}/twisted/positioning/ipositioning.pyo
+${PYSITELIB}/twisted/positioning/nmea.py
+${PYSITELIB}/twisted/positioning/nmea.pyc
+${PYSITELIB}/twisted/positioning/nmea.pyo
+${PYSITELIB}/twisted/positioning/test/__init__.py
+${PYSITELIB}/twisted/positioning/test/__init__.pyc
+${PYSITELIB}/twisted/positioning/test/__init__.pyo
+${PYSITELIB}/twisted/positioning/test/receiver.py
+${PYSITELIB}/twisted/positioning/test/receiver.pyc
+${PYSITELIB}/twisted/positioning/test/receiver.pyo
+${PYSITELIB}/twisted/positioning/test/test_base.py
+${PYSITELIB}/twisted/positioning/test/test_base.pyc
+${PYSITELIB}/twisted/positioning/test/test_base.pyo
+${PYSITELIB}/twisted/positioning/test/test_nmea.py
+${PYSITELIB}/twisted/positioning/test/test_nmea.pyc
+${PYSITELIB}/twisted/positioning/test/test_nmea.pyo
+${PYSITELIB}/twisted/positioning/test/test_sentence.py
+${PYSITELIB}/twisted/positioning/test/test_sentence.pyc
+${PYSITELIB}/twisted/positioning/test/test_sentence.pyo
${PYSITELIB}/twisted/protocols/__init__.py
${PYSITELIB}/twisted/protocols/__init__.pyc
${PYSITELIB}/twisted/protocols/__init__.pyo
@@ -1254,13 +1296,9 @@ ${PYSITELIB}/twisted/python/__init__.py
${PYSITELIB}/twisted/python/__init__.pyc
${PYSITELIB}/twisted/python/__init__.pyo
${PYSITELIB}/twisted/python/_initgroups.c
-${PLIST.initgroups}${PYSITELIB}/twisted/python/_initgroups.so
${PYSITELIB}/twisted/python/_inotify.py
${PYSITELIB}/twisted/python/_inotify.pyc
${PYSITELIB}/twisted/python/_inotify.pyo
-${PYSITELIB}/twisted/python/_reflectpy3.py
-${PYSITELIB}/twisted/python/_reflectpy3.pyc
-${PYSITELIB}/twisted/python/_reflectpy3.pyo
${PYSITELIB}/twisted/python/_release.py
${PYSITELIB}/twisted/python/_release.pyc
${PYSITELIB}/twisted/python/_release.pyo
@@ -1288,6 +1326,9 @@ ${PYSITELIB}/twisted/python/deprecate.pyo
${PYSITELIB}/twisted/python/dist.py
${PYSITELIB}/twisted/python/dist.pyc
${PYSITELIB}/twisted/python/dist.pyo
+${PYSITELIB}/twisted/python/dist3.py
+${PYSITELIB}/twisted/python/dist3.pyc
+${PYSITELIB}/twisted/python/dist3.pyo
${PYSITELIB}/twisted/python/failure.py
${PYSITELIB}/twisted/python/failure.pyc
${PYSITELIB}/twisted/python/failure.pyo
@@ -1383,6 +1424,9 @@ ${PYSITELIB}/twisted/python/test/test_deprecate.pyo
${PYSITELIB}/twisted/python/test/test_dist.py
${PYSITELIB}/twisted/python/test/test_dist.pyc
${PYSITELIB}/twisted/python/test/test_dist.pyo
+${PYSITELIB}/twisted/python/test/test_dist3.py
+${PYSITELIB}/twisted/python/test/test_dist3.pyc
+${PYSITELIB}/twisted/python/test/test_dist3.pyo
${PYSITELIB}/twisted/python/test/test_fakepwd.py
${PYSITELIB}/twisted/python/test/test_fakepwd.pyc
${PYSITELIB}/twisted/python/test/test_fakepwd.pyo
@@ -1395,9 +1439,6 @@ ${PYSITELIB}/twisted/python/test/test_htmlizer.pyo
${PYSITELIB}/twisted/python/test/test_inotify.py
${PYSITELIB}/twisted/python/test/test_inotify.pyc
${PYSITELIB}/twisted/python/test/test_inotify.pyo
-${PYSITELIB}/twisted/python/test/test_reflectpy3.py
-${PYSITELIB}/twisted/python/test/test_reflectpy3.pyc
-${PYSITELIB}/twisted/python/test/test_reflectpy3.pyo
${PYSITELIB}/twisted/python/test/test_release.py
${PYSITELIB}/twisted/python/test/test_release.pyc
${PYSITELIB}/twisted/python/test/test_release.pyo
@@ -1799,12 +1840,12 @@ ${PYSITELIB}/twisted/test/test_htb.pyo
${PYSITELIB}/twisted/test/test_ident.py
${PYSITELIB}/twisted/test/test_ident.pyc
${PYSITELIB}/twisted/test/test_ident.pyo
-${PYSITELIB}/twisted/test/test_import.py
-${PYSITELIB}/twisted/test/test_import.pyc
-${PYSITELIB}/twisted/test/test_import.pyo
${PYSITELIB}/twisted/test/test_internet.py
${PYSITELIB}/twisted/test/test_internet.pyc
${PYSITELIB}/twisted/test/test_internet.pyo
+${PYSITELIB}/twisted/test/test_iosim.py
+${PYSITELIB}/twisted/test/test_iosim.pyc
+${PYSITELIB}/twisted/test/test_iosim.pyo
${PYSITELIB}/twisted/test/test_iutils.py
${PYSITELIB}/twisted/test/test_iutils.pyc
${PYSITELIB}/twisted/test/test_iutils.pyo
diff --git a/net/py-twisted/distinfo b/net/py-twisted/distinfo
index be0d4049544..6c62c7302e7 100644
--- a/net/py-twisted/distinfo
+++ b/net/py-twisted/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2013/11/13 07:06:58 adam Exp $
+$NetBSD: distinfo,v 1.14 2014/07/22 12:08:14 wiz Exp $
-SHA1 (Twisted-13.2.0.tar.bz2) = e1d43645fd3d84dc2867f36b60d2e469a71eb01d
-RMD160 (Twisted-13.2.0.tar.bz2) = e74ea62d7074bbdc03f411acf77b1bf40691f37c
-Size (Twisted-13.2.0.tar.bz2) = 2704819 bytes
+SHA1 (Twisted-14.0.0.tar.bz2) = a90fae98072f8e28b9459875ce9b77f5524bbc48
+RMD160 (Twisted-14.0.0.tar.bz2) = d81c539978bfa21a4b79723578f105e05242058b
+Size (Twisted-14.0.0.tar.bz2) = 4339509 bytes
SHA1 (patch-ab) = 26495e5abd57025e915b923cc7089704bbd85629