Commit graph

31 commits

Author SHA1 Message Date
gdt
cd59a79ba5 Use -f when removing files pre-install.
Otherwise, they might not be there if install is done twice (e.g.,
while debugging PLIST).
2013-02-27 15:59:59 +00:00
gdt
bba36ef79a Conditionally include a file in PLIST.
In python 2.6 (and presumably earlier), but not in 2.7, twisted
creates a file _initgroups.so.
2013-02-27 15:59:07 +00:00
markd
7867f96ae4 No special linux files in latest py-twisted. 2013-02-24 05:35:48 +00:00
jperkin
0f5dc61d50 Fix build on SunOS. 2013-02-22 19:35:30 +00:00
gdt
7107043960 Update to 12.3.0. Upstream NEWS, less bugfixes and "other", follows:
Twisted Core 12.3.0 (2012-12-20)
================================

Features
--------
 - The new -j flag to trial provides a trial runner supporting
   multiple worker processes on the local machine, for parallel
   testing. (#1784)
 - twisted.internet.task.react, a new function, provides a simple API
   for running the reactor until a single asynchronous function
   completes. (#3270)
 - twisted.protocols.ftp.FTP now handles FEAT and OPTS commands.
   (#4515)
 - trial now supports specifying a debugger other than pdb with the
   --debugger command line flag. (#5794)
 - twisted.python.util.runWithWarningsSuppressed has been added; it
   runs a function with specified warning filters. (#5950)
 - trial's skipping feature is now implemented in a way compatible with the
   standard library unittest's runner. (#6006)
 - The setup3.py script is now provided to provisionally support
   building and installing an experimental, incomplete version of
   Twisted in a Python 3 environment. (#6040)
 - twisted.python.util.FancyStrMixin now supports arbitrary callables
   to format attribute values. (#6063)
 - Several new methods of twisted.trial.unittest.SynchronousTestCase
   - `successResultOf`, `failureResultOf`, and `assertNoResult` -
   have been added to make testing `Deferred`-using code easier.
   (#6105)

Deprecations and Removals
-------------------------
 - The minimum required version of zope.interface is now 3.6.0.
   (#5683)
 - twisted.internet.interfaces.IReactorArbitrary and
   twisted.application.internet.GenericServer and GenericClient,
   deprecated since Twisted 10.1, have been removed. (#5943)
 - twisted.internet.interfaces.IFinishableConsumer, deprecated since
   Twisted 11.1, has been removed. (#5944)
 - twisted.python.failure has removed all support for string
   exceptions. (#5948)
 - assertTrue, assertEqual, and the other free-functions in
   twisted.trial.unittest for writing assertions, deprecated since
   prior to Twisted 2.3, have been removed. (#5963)
 - Ports, connectors, wakers and other reactor-related types no longer
   log a nice warning when they are erroneously pickled. Pickling of
   such objects continues to be unsupported. (#5979)
 - twisted.python.components.Componentized no longer inherits from
   Versioned. (#5983)
 - twisted.protocols.basic.NetstringReceiver.sendString no longer
   accepts objects other than bytes; the removed behavior was
   deprecated in Twisted 10.0. (#6025)
 - The lookupRecord method of twisted.internet.interfaces.IResolver,
   never implemented or called by Twisted, has been removed. (#6091)


Twisted Names 12.3.0 (2012-12-20)
=================================

Deprecations and Removals
-------------------------
 - The `protocol` attribute of twisted.names.client.Resolver,
   deprecated since Twisted 8.2, has been removed. (#6045)
 - twisted.names.hosts.Resolver is no longer a
   `twisted.persisted.styles.Versioned` subclass. (#6092)


Twisted Web 12.3.0 (2012-12-20)
===============================

Features
--------
 - twisted.web.server.Site now supports an encoders argument to encode
   request content, twisted.web.server.GzipEncoderFactory being the
   first one provided. (#104)


Twisted Core 12.2.0 (2012-08-26)
================================

Features
--------
 - twisted.protocols.sip.MessageParser now handles multiline headers.
   (#2198)
 - twisted.internet.endpoints now provides StandardIOEndpoint, a
   Standard I/O endpoint. (#4697)
 - If a FTPCmdError occurs during twisted.protocols.ftp.FTP.ftp_RETR
   sending the file (i.e. it is raised by the IReadFile.send method it
   invokes), then it will use that to return an error to the client
   rather than necessarily sending a 426 CNX_CLOSED_TXFR_ABORTED
   error. (#4913)
 - twisted.internet.interfaces.IReactorSocket.adoptStreamConnection is
   implemented by some reactors as a way to add an existing
   established connection to them. (#5570)
 - twisted.internet.endpoints now provides TCP6ServerEndpoint, an IPv6
   TCP server endpoint. (#5694)
 - twisted.internet.endpoints now provides TCP6ClientEndpoint, an IPv6
   TCP client endpoint. (#5695)
 - twisted.internet.endpoints.serverFromString, the endpoint string
   description feature, can now be used to create IPv6 TCP servers.
   (#5699)
 - twisted.internet.endpoints.serverFromString, the endpoint string
   description feature, can now be used to create servers that run on
   Standard I/O. (#5729)
 - twisted.trial.unittest now offers SynchronousTestCase, a test case
   base class that provides usability improvements but not reactor-
   based testing features. (#5853)


Twisted Conch 12.2.0 (2012-08-26)
=================================

Features
--------
 - twisted.conch.ssh.transport.SSHTransport now returns an
   SSHTransportAddress from the getPeer() and getHost() methods.
   (#2997)


Twisted Mail 12.2.0 (2012-08-26)
================================

Deprecations and Removals
-------------------------
 - twisted.mail.protocols.SSLContextFactory is now deprecated. (#4963)
 - The --passwordfile option to twistd mail is now removed. (#5541)


Twisted Names 12.2.0 (2012-08-26)
=================================

Features
--------
 - twisted.names.srvconnect.SRVConnector now takes a default port to
   use when SRV lookup fails. (#3456)


Twisted Web 12.2.0 (2012-08-26)
===============================

Deprecations and Removals
-------------------------
 - twisted.web.static.FileTransfer, deprecated since 9.0, is removed
   now. Use a subclass of StaticProducer instead. (#5651)
 - ErrorPage, NoResource and ForbiddenResource in twisted.web.error
   were deprecated since 9.0 and are removed now. (#5659)
 - twisted.web.google, deprecated since Twisted 11.1, is removed now.
   (#5768)


Twisted Core 12.1.0 (2012-06-02)
================================

Features
--------
 - The kqueue reactor has been revived. (#1918)
 - twisted.python.filepath now provides IFilePath, an interface for
   file path objects. (#2176)
 - New gtk3 and gobject-introspection reactors have been added.
   (#4558)
 - gtk and glib reactors now run I/O and scheduled events with lower
   priority, to ensure the UI stays responsive. (#5067)
 - IReactorTCP.connectTCP() can now accept IPv6 address literals
   (although not hostnames) in order to support connecting to IPv6
   hosts. (#5085)
 - twisted.internet.interfaces.IReactorSocket, a new interface, is now
   supported by some reactors to listen on sockets set up by external
   software (eg systemd or launchd). (#5248)
 - twisted.internet.endpoints.clientFromString now also supports
   strings in the form of tcp:example.com:80 and ssl:example.com:4321
   (#5358)
 - twisted.python.constants.Flags now provides a way to define
   collections of flags for bitvector-type uses. (#5384)
 - The epoll(7)-based reactor is now the default reactor on Linux.
   (#5478)
 - twisted.python.runtime.platform.isLinux can be used to check if
   Twisted is running on Linux. (#5491)
 - twisted.internet.endpoints.serverFromString now recognizes a
   "systemd" endpoint type, for listening on a server port inherited
   from systemd. (#5575)
 - Connections created using twisted.internet.interfaces.IReactorUNIX
   now support sending and receiving file descriptors between
   different processes. (#5615)
 - twisted.internet.endpoints.clientFromString now supports UNIX
   client endpoint strings with the path argument specified like
   "unix:/foo/bar" in addition to the old style, "unix:path=/foo/bar".
   (#5640)
 - twisted.protocols.amp.Descriptor is a new AMP argument type which
   supports passing file descriptors as AMP command arguments over
   UNIX connections. (#5650)

Deprecations and Removals
-------------------------
 - The 'unsigned' flag to twisted.scripts.tap2rpm.MyOptions is now
   deprecated.  (#4086)
 - Removed the unreachable _fileUrandom method from
   twisted.python.randbytes.RandomFactory. (#4530)
 - twisted.persisted.journal is removed, deprecated since Twisted
   11.0. (#4805)
 - Support for pyOpenSSL 0.9 and older is now deprecated.  pyOpenSSL
   0.10 or newer will soon be required in order to use Twisted's SSL
   features. (#4974)
 - backwardsCompatImplements and fixClassImplements are removed from
   twisted.python.components, deprecated in 2006. (#5034)
 - twisted.python.reflect.macro was removed, deprecated since Twisted
   8.2. (#5035)
 - twisted.python.text.docstringLStrip, deprecated since Twisted
   10.2.0, has been removed (#5036)
 - Removed the deprecated dispatch and dispatchWithCallback methods
   from twisted.python.threadpool.ThreadPool (deprecated since 8.0)
   (#5037)
 - twisted.scripts.tapconvert is now deprecated. (#5038)
 - twisted.python.reflect's Settable, AccessorType, PropertyAccessor,
   Accessor, OriginalAccessor and Summer are now deprecated.  (#5451)
 - twisted.python.threadpool.ThreadSafeList (deprecated in 10.1) is
   removed. (#5473)
 - twisted.application.app.initialLog, deprecated since Twisted 8.2.0,
   has been removed. (#5480)
 - twisted.spread.refpath was deleted, deprecated since Twisted 9.0.
   (#5482)
 - twisted.python.otp, deprecated since 9.0, is removed. (#5493)
 - Removed `dsu`, `moduleMovedForSplit`, and `dict` from
   twisted.python.util (deprecated since 10.2) (#5516)


Twisted Conch 12.1.0 (2012-06-02)
=================================

Features
--------
 - twisted.conch.tap now supports cred plugins (#4753)


Twisted Names 12.1.0 (2012-06-02)
=================================

Features
--------
 - "twistd dns" secondary server functionality and
   twisted.names.secondary now support retrieving zone information
   from a master running on a non-standard DNS port. (#5468)


Twisted News 12.1.0 (2012-06-02)
================================

Deprecations and Removals
-------------------------
 - The ability to pass a string article to NNTPServer._gotBody and
   NNTPServer._gotArticle in t.news.nntp has been deprecated for years
   and is now removed. (#4548)


Twisted Runner 12.1.0 (2012-06-02)
==================================

Deprecations and Removals
-------------------------
 - ProcessMonitor.active, consistencyDelay, and consistency in
   twisted.runner.procmon were deprecated since 10.1 have been
   removed. (#5517)


Twisted Web 12.1.0 (2012-06-02)
===============================

Features
--------
 - twisted.web.client.Agent and ProxyAgent now support persistent
   connections. (#3420)
 - Added twisted.web.template.renderElement, a function which renders
   an Element to a response. (#5395)
 - twisted.web.client.HTTPConnectionPool now ensures that failed
   queries on persistent connections are retried, when possible.
   (#5479)
 - twisted.web.template.XMLFile now supports FilePath objects. (#5509)
 - twisted.web.template.renderElement takes a doctype keyword
   argument, which will be written as the first line of the response,
   defaulting to the HTML5 doctype. (#5560)

Deprecations and Removals
-------------------------
 - PHP3Script and PHPScript were removed from twisted.web.twcgi,
   deprecated since 10.1. Use twcgi.FilteredScript instead. (#5456)
 - twisted.web.template.XMLFile's support for file objects and
   filenames is now deprecated.  Use the new support for FilePath
   objects. (#5509)
 - twisted.web.server.date_time_string and
   twisted.web.server.string_date_time are now deprecated in favor of
   twisted.web.http.datetimeToString and twisted.web.
   http.stringToDatetime (#5535)
2013-02-17 14:53:13 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
adam
9f0f251fdf Changes 12.0.0:
Features
--------
 - The interface argument to IReactorTCP.listenTCP may now be an IPv6
   address literal, allowing the creation of IPv6 TCP servers.
 - twisted.python.constants.Names now provides a way to define
   collections of named constants, similar to the "enum type" feature
   of C or Java.
 - twisted.python.constants.Values now provides a way to define
   collections of named constants with arbitrary values.

Bugfixes
--------
 - Fixed an obscure case where connectionLost wasn't called on the
   protocol when using half-close.
 - UDP ports handle socket errors better on Windows.
 - When idle, the gtk2 and glib2 reactors no longer wake up 10 times a
   second.
 - Prevent a rare situation involving TLS transports, where a producer
   may be erroneously left unpaused.
 - twisted.internet.iocpreactor.iocpsupport now has fewer 64-bit
   compile warnings.
 - The GTK2 reactor is now more responsive on Windows.
 - TLS transports now correctly handle producer registration after the
   connection has been lost.
 - twisted.protocols.htb.Bucket now empties properly with a non-zero
   drip rate.
 - IReactorSSL and ITCPTransport.startTLS now synchronously propagate
   errors from the getContext method of context factories, instead of
   being capturing them and logging them as unhandled.

Improved Documentation
----------------------
 - The multicast documentation has been expanded.
 - twisted.internet.defer.Deferred now documents more return values.
 - Show a better starting page at
   http://twistedmatrix.com/documents/current

Deprecations and Removals
-------------------------
 - Remove the deprecated module twisted.enterprise.reflector.
 - Removed the deprecated module twisted.enterprise.row.
 - Remove the deprecated module twisted.enterprise.sqlreflector.
 - Removed the deprecated module twisted.enterprise.util, as well as
   twisted.enterprise.adbapi.safe.
 - Python 2.4 is no longer supported on any platform.
 - Removed printTraceback and noOperation from twisted.spread.pb,
   deprecated since Twisted 8.2.
2012-04-20 18:47:37 +00:00
schnoebe
fe22205309 Update to twisted 11.0.0. -- Too many changes to list. 2011-10-17 03:47:57 +00:00
adam
e29ca61d8e Changes 10.1.0:
* Add linux inotify support, allowing monitoring of file system
  events.
* Deferreds now support cancellation.
* Added new "endpoint" interfaces in twisted.internet.interfaces,
  which abstractly describe stream transport endpoints which can be
  listened on or connected to.  Implementations for TCP and SSL
  clients and servers are present in twisted.internet.endpoints.
  Notably, client endpoints' connect() methods return cancellable
  Deferreds, so code written to use them can bypass the awkward
  "ClientFactory.clientConnectionFailed" and
  "Connector.stopConnecting" methods, and handle errbacks from or
  cancel the returned deferred, respectively.
* twisted.protocols.amp.Integer's documentation now clarifies that
  integers of arbitrary size are supported and that the wire format
  is a base-10 representation.
* twisted.protocols.amp now includes support for transferring
  timestamps (amp.DateTime) and decimal values (amp.Decimal).
* twisted.protocol.ftp.IWriteFile now has a close() method, which can
  return a Deferred. Previously a STOR command would finish
  immediately upon the receipt of the last byte of the uploaded file.
  With close(), the backend can delay the finish until it has
  performed some other slow action (like storing the data to a
  virtual filesystem).
* FilePath now calls os.stat() only when new status information is
  required, rather than immediately when anything changes.  For some
  applications this may result in fewer stat() calls.  Additionally,
  FilePath has a new method, 'changed', which applications may use to
  indicate that the FilePath may have been changed on disk and
  therefore the next status information request must  fetch a new
  stat result.  This is useful if external systems, such as C
  libraries, may have changed files that Twisted applications are
  referencing via a FilePath.
* Documentation improvements are now summarized in the NEWS file.
* twisted.internet.task.deferLater now returns a cancellable
  Deferred.
* The connect methods of twisted.internet.protocol.ClientCreator now
  return cancellable Deferreds.
* twisted.spread.pb now has documentation covering some of its
  limitations.
* twisted.spread.jelly now supports jellying and unjellying classes
  defined with slots if they also implement __getstate__ and
  __setstate__.
* twisted.protocols.amp.ListOf arguments can now be specified as
  optional.
* Bugfixes
2010-11-04 19:40:02 +00:00
obache
3a6361bf00 Update py-twisted to 10.0.0.
Based on PR#42918 by Wen Heping

Pkgsrc changes:
 * set LICENSE to mit
 * add handling of plugin cache file

Upstream changes:
 from 8.1.0 to 10.0.0 is too long to put here.
 please refer: http://twistedmatrix.com/trac/browser/trunk/NEWS
2010-03-06 13:18:07 +00:00
wiz
23da12275d Make py-twisted and cftp conflict with each other, both install a
bin/cftp file.
2009-12-31 08:37:31 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
a3385aa7da Fix include order. 2008-09-20 18:51:57 +00:00
epg
faff8945ae Include application .mk and add two scripts (used only in tests anyway) to
REPLACE_PYTHON.
2008-09-19 18:03:24 +00:00
epg
32bdfaa062 - Move _epoll.so to PLIST.Linux (fixes PR pkg/39553).
- Adjust py-OpenSSL dependency down to 0.6.
- Use egg.mk instead of extension.mk, drop PYDISTUTILSPKG, and add egg foo
  to PLIST.
2008-09-16 01:59:07 +00:00
epg
071f1b1120 Update from to 8.1.0; changes too numerous to list.
pkgsrc changes:
- Move more definitions to Makefile.common, drop some that had default values.

- Depend on py-OpenSSL and py-ZopeInterface.

- Add do-test target.

- Remove patch-aa and install all bin/ script with plain names, not with
  ${PYVERSSUFFIX} appended.  setup.py is now much, much simpler, and rewriting
  the patch would be difficult.  It doesn't matter anyway, as I tried really
  hard to install py-OpenSSL for both python24 and python25 and it just
  doesn't work.
2008-08-22 21:49:08 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
heinz
272acadecb Changed TWISTED_MASTER_SITES to a working site. This should resolve
PR pkg/37913 by Jorge Niedbalski R.
2008-01-29 22:39:52 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
6301213966 Reset MAINTAINER -- he stopped working on pkgsrc. 2005-07-27 16:21:16 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
rillig
abd46abc56 Added a patch to include the system headers before <Python.h>, as the latter
redefines about everything. Approved by wiz.
2005-03-16 12:02:20 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
darcy
c6623e7fcd This package builds fine with the latest version of Python. 2004-12-23 21:54:25 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
recht
47b85d7ff9 update to 1.3.0.
patch provided by Michal Pasternak in PR pkg/25705

changes:

- Address objects for IPv4 and Unix addresses throughout twisted.internet.
- Improved connected UDP APIs.
- Refactored SSH client support.
- Initial implementation of Windows I/O Completion Ports event loop.
- Bug fixes and feature enhancements.
- Nevow support for Lore (so your Lore documents can use Nevow directives).
- This is the last release before Twisted begins splitting up.
2004-05-26 11:59:25 +00:00
recht
db212e4c5c initial import of Twisted 1.2.0
provided by Michal Pasternak via pkgsrc-wip

Twisted is a framework, written in Python, for writing networked applications.
It includes implementations of a number of commonly used network services such
as a web server, an IRC chat server, a mail server, a relational database
interface and an object broker. Developers can build applications using all of
these services as well as custom services that they write themselves. Twisted
also includes a user authentication system that controls access to services
and provides services with user context information to implement their own
security models.
2004-03-30 13:27:05 +00:00