Twisted is an asynchronous networking framework written in python. It is used
by most of the servers, clients and protocols that are part of other Twisted
projects.
- twisted.cred, a pluggable authentication system for servers;
- twisted.enterprise, an asynchronous adapter of Python DB-API 2.0 database
interfaces;
- twisted.internet, the Twisted event loop;
- twisted.manhole, a debugging service;
- twisted.persisted, a collection of object persistence systems
- twisted.protocols, a collection of simple network protocols and helper
utilities;
- twisted.python, a set of Twisted programming abstractions;
- twisted.spread, a network transport, serializer and object broker;
- twisted.trial, a unit-testing framework; and
WWW: http://twistedmatrix.com/
===> The following configuration options are available for py27-twistedCore-15.2.1:
VERIFY=on: Server (SNI) and Service Verification Support (RFC6125+)
===> Use 'make config' to modify these settings
devel/py-twistedCore: Create OPTION for service_identity
service_identity is an optional dependency that hasn't yet been added
to setup.py upstream as an extras_require [1]
Create a VERIFY option to make the dependency optional, as it adds
a decent number [~9] of subsequent dependencies that aren't needed
in most cases.
Set the VERIFY option to be a OPTIONS_DEFAULT *for now* since a few
consumers (and their ports) bail out with an error if its not installed
(deluge) [2].
For these cases, the port should instead depend on service_identity
directly, as in www/calendarserver.
While I'm here:
- Strip shared libraries
- Tweak COMMENT
[1] http://twistedmatrix.com/trac/ticket/3696
[2] http://svnweb.freebsd.org/ports?view=revision&revision=375833
Approved by: python (hat)
devel/py-twistedCore: add dependency on security/py-service_identity
- add dependency on security/py-service_identity. It fixes this warning
when running deluge, for example:
"""
/usr/local/lib/python2.7/site-packages/twisted/internet/_sslverify.py:184:
UserWarning: You do not have the service_identity module installed.
Without the service_identity module and a recent enough pyOpenSSL tosupport it,
Twisted can perform only rudimentary TLS client hostnameverification.
Many valid certificate/hostname mappings may be rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()
"""
- define LICENSE_FILE
- update comment
- bump PORTREVISION because of dependency change
- add patch to fix import of twisted/internet/gtk2reactor.py (to fix runtime of
net-p2p/deluge at least) [1]
- remove BUILD_DEPENDS and LICENSE_FILE
- strict to python 2.x only
- tab twiddling
- bump PORTREVISION
Reported by: many (via python@) [1]
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
- Update py-twisted-* to 8.2.0
- turn devel/py-twisted into a meta port.
- Update USE_TWISTED{,_BUILD,_RUN} in bsd.python.mk:
* Remove flow, pair, xish, which are deprecated
(but still update them to latest release in the tree)
* Remove USE_TWISTED=13 (no port uses this)
* Fix typos in twisted components _DEPENDS
PR: ports/130001
Submitted by: lwhsu
Approved by: maintainer timeout
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav