15
0
Files
python-Twisted/python-Twisted.spec

117 lines
4.1 KiB
RPMSpec
Raw Normal View History

- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
#
# spec file for package python-Twisted
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
Name: python-Twisted
Version: 13.0.0
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
Release: 0
Url: http://twistedmatrix.com/
Summary: An asynchronous networking framework written in Python
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-pam
- Changes file cleanup * 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=8
2012-02-20 11:21:59 +00:00
BuildRequires: python-pyOpenSSL
BuildRequires: python-pyserial
BuildRequires: python-zope.interface
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
Requires: python-pam
- Changes file cleanup * 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=8
2012-02-20 11:21:59 +00:00
Requires: python-pyOpenSSL
Requires: python-pyserial
Requires: python-zope.interface
- Update to version 0.11: Features: * The twistd man page now has a SIGNALS section. * reactor.spawnProcess now will not emit a PotentialZombieWarning when called before reactor.run, and there will be no potential for zombie processes in this case. * High-throughput applications based on Perspective Broker should now run noticably faster thanks to the use of a more efficient decoding function in Twisted Spread. * Documentation for trac-post-commit-hook functionality in svn-dev policy. * twisted.protocols.socks.SOCKSv4 now supports the SOCKSv4a protocol. * Trial can now output test results according to the subunit protocol, as long as Subunit is installed. * twisted.protocols.amp now provides a ListOf argument type which can be composed with some other argument types to create a zero or more element sequence of that type. * If returnValue is invoked outside of a function decorated with @inlineCallbacks, but causes a function thusly decorated to exit, a DeprecationWarning will be emitted explaining this potentially confusing behavior. In a future release, this will cause an exception. * twisted.python.logfile.BaseLogFile now has a reopen method allowing to use an external logrotate mechanism. Bugfixes: * FTP.ftp_NLST now handles requests on invalid paths in a way consistent with RFC 959. * twisted.python.util.initgroups now calls the low-level C initgroups by default if available: the python version can create lots of I/O with certain authentication setup to retrieve all the necessary information. * startLogging now does nothing on subsequent invocations, thus fixing a terrible infinite recursion bug that's only on edge case. * Stringify non-string data to NetstringReceiver.sendString before OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=1
2011-09-02 13:12:34 +00:00
%if 0%{?suse_version}
%py_requires
%endif
Provides: python-twisted = %{version}
Obsoletes: python-twisted < %{version}
Provides: python-twisted-core = %{version}
Obsoletes: python-twisted-core < %{version}
Provides: python-twisted-conch = %{version}
Obsoletes: python-twisted-conch < %{version}
Provides: python-twisted-lore = %{version}
Obsoletes: python-twisted-lore < %{version}
Provides: python-twisted-mail = %{version}
Obsoletes: python-twisted-mail < %{version}
Provides: python-twisted-names = %{version}
Obsoletes: python-twisted-names < %{version}
Provides: python-twisted-news = %{version}
Obsoletes: python-twisted-news < %{version}
Provides: python-twisted-runner = %{version}
Obsoletes: python-twisted-runner < %{version}
Provides: python-twisted-web = %{version}
Obsoletes: python-twisted-web < %{version}
Provides: python-twisted-words = %{version}
Obsoletes: python-twisted-words < %{version}
Provides: python-twisted-xish = %{version}
Obsoletes: python-twisted-xish < %{version}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
An extensible framework for Python programming, with special focus
on event-based network programming and multiprotocol integration.
%package doc
Summary: An asynchronous networking framework written in Python - Documentation
Group: Development/Languages/Python
%description doc
An extensible framework for Python programming, with special focus
on event-based network programming and multiprotocol integration.
This package contains the documentation for python-Twisted
%prep
%setup -q -n Twisted-%{version}
sed -i "1d" twisted/{mail/test/pop3testserver,trial/test/scripttest}.py
%build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
find %{buildroot} -regex '.*\.[ch]' -exec rm {} ";" # Remove leftover C sources
install -dm0755 %{buildroot}/%{_mandir}/man1/
install -m0644 doc/*/man/*.1 %{buildroot}/%{_mandir}/man1/ # Install man pages
find doc -type f -print0 | xargs -0 chmod a-x # Fix doc-file dependency by removing x flags
sed -i "s/\r//" doc/core/howto/listings/udp/{MulticastClient,MulticastServer}.py
%files doc
%defattr(-,root,root,-)
%doc doc/*
%files
%defattr(-,root,root,-)
%doc LICENSE NEWS README
%{_bindir}/cftp
%{_bindir}/ckeygen
%{_bindir}/conch
%{_bindir}/lore
%{_bindir}/mailmail
%{_bindir}/manhole
%{_bindir}/pyhtmlizer
%{_bindir}/tap2deb
%{_bindir}/tap2rpm
%{_bindir}/tapconvert
%{_bindir}/tkconch
%{_bindir}/trial
%{_bindir}/twistd
%{_mandir}/man1/*
%{python_sitearch}/*
%changelog