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

175 lines
6.6 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) 2020 SUSE LLC
- 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.
# Please submit bugfixes or comments via https://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
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname Twisted
%define skip_python2 1
- 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: 20.3.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
Summary: An asynchronous networking framework written in Python
License: MIT
Group: Development/Languages/Python
URL: https://twistedmatrix.com/
Source: https://files.pythonhosted.org/packages/source/T/Twisted/%{modname}-%{version}.tar.bz2
Patch1: skip_MultiCast.patch
Patch2: no-pygtkcompat.patch
Patch3: test-mktime-invalid-tm_isdst.patch
- Update to 19.10.0: * twisted.trial.successResultOf, twisted.trial.failureResultOf, and twisted.trial.assertNoResult accept coroutines as well as Deferreds. (#9006) * Fixed circular import in twisted.trial.reporter, introduced in Twisted 16.0.0. (#8267) * The POP3 server implemented by twisted.mail.pop3 now accepts passwords that contain spaces. (#9100) * Incoming HTTP/2 connections will now not time out if they persist for longer than one minute. (#9653) * twisted.conch.ssh.keys now correctly writes the "iqmp" parameter in serialized RSA private keys as q^-1 mod p rather than p^-1 mod q. (#9681) * twisted.web.server.Request will now use twisted.web.server.Site.getContentFile, if it exists, to get a file into which to write request content. If getContentFile is not provided by the site, it will fall back to the previous behavior of using io.BytesIO for small requests and tempfile.TemporaryFile for large ones. (#9655) * twisted.web.client.FileBodyProducer will now stop producing when the Deferred returned by FileBodyProducer.startProducing is cancelled. (#9547) * The HTTP/2 server implementation now enforces TCP flow control on control frame messages and times out clients that send invalid data without reading responses. This closes CVE-2019-9512 (Ping Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood). Thanks to Jonathan Looney and Piotr Sikora. (#9694) - Add python-38-xml-namespace.patch to fix dictionary mutation under Python 3.8 - Add python-38-hmac-digestmod.patch to add digestmod parameter where required - Add python-38-no-cgi-parseqs.patch to no longer import parse_qs from cgi OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=85
2019-12-04 05:06:51 +00:00
Patch5: python-38-hmac-digestmod.patch
Patch6: python-38-no-cgi-parseqs.patch
Patch7: true-binary.patch
# PATCH-FIX-UPSTREAM no-test_successResultOfWithFailureHasTraceback.patch https://twistedmatrix.com/trac/ticket/9665 mcepl@suse.com
# skip over the test test_successResultOfWithFailureHasTraceback
Patch8: no-test_successResultOfWithFailureHasTraceback.patch
BuildRequires: %{python_module Automat >= 0.3.0}
BuildRequires: %{python_module PyHamcrest >= 1.9.0}
BuildRequires: %{python_module appdirs >= 1.4.0}
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module bcrypt >= 3.0.0}
BuildRequires: %{python_module constantly >= 15.1}
BuildRequires: %{python_module cryptography >= 2.6}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module h2 >= 3.0}
BuildRequires: %{python_module hyperlink >= 17.1.1}
BuildRequires: %{python_module idna >= 2.4}
BuildRequires: %{python_module incremental >= 16.10.1}
BuildRequires: %{python_module pyOpenSSL >= 16.0.0}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pyserial >= 3.0}
BuildRequires: %{python_module pyserial}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-subunit}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module service_identity >= 18.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.interface >= 4.4.2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Automat >= 0.3.0
Requires: python-PyHamcrest >= 1.9.0
Requires: python-appdirs >= 1.4.0
Requires: python-attrs >= 19.2.0
Requires: python-bcrypt >= 3.0.0
Requires: python-constantly >= 15.1
Requires: python-cryptography >= 2.6
Requires: python-h2 >= 3.0
Requires: python-hyperlink >= 17.1.1
Requires: python-idna >= 2.4
Requires: python-incremental >= 16.10.1
Requires: python-pyOpenSSL >= 16.0.0
Requires: python-pyasn1
Requires: python-pyserial >= 3.0
Requires: python-service_identity >= 18.1.0
Requires: python-zope.interface >= 4.4.2
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
- 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
%description
An extensible framework for Python programming, with special focus
on event-based network programming and multiprotocol integration.
%package -n %{name}-doc
- 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
Summary: An asynchronous networking framework written in Python - Documentation
Group: Development/Languages/Python
%description -n %{name}-doc
- 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
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 %{modname}-%{version}
%autopatch -p1
- 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
%build
%python_build
- 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
%install
%python_install
find %{buildroot} -regex '.*\.[ch]' -exec rm {} ";" # Remove leftover C sources
install -dm0755 %{buildroot}%{_mandir}/man1/
install -m0644 docs/*/man/*.1 %{buildroot}%{_mandir}/man1/ # Install man pages
find docs -type f -print0 | xargs -0 chmod a-x # Fix doc-file dependency by removing x flags
#sed -i "s/\r//" docs/core/howto/listings/udp/{MulticastClient,MulticastServer}.py
%python_expand %fdupes %{buildroot}%{$python_sitearch}
- 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
# Prepare for update-alternatives usage
for p in twistd cftp ckeygen conch pyhtmlizer tkconch trial ; do
%python_clone -a %{buildroot}%{_bindir}/$p
%python_clone -a %{buildroot}%{_mandir}/man1/$p.1
done
# mailmail is useful only on Python 2
rm %{buildroot}%{_bindir}/mailmail %{buildroot}%{_mandir}/man1/mailmail.1
# no manpage for twist yet:
%python_clone -a %{buildroot}%{_bindir}/twist
%check
export LANG=en_US.UTF-8
export PATH=%{buildroot}%{_bindir}:$PATH
export PYTHONDONTWRITEBYTECODE=1
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m twisted.trial twisted
%post
%python_install_alternative twist
%python_install_alternative trial
%python_install_alternative tkconch
%python_install_alternative pyhtmlizer
%python_install_alternative conch
%python_install_alternative ckeygen
%python_install_alternative cftp
%python_install_alternative twistd
%postun
%python_uninstall_alternative twist
%python_uninstall_alternative trial trial.1
%python_uninstall_alternative tkconch tkconch.1
%python_uninstall_alternative pyhtmlizer pyhtmlizer.1
%python_uninstall_alternative conch conch.1
%python_uninstall_alternative ckeygen ckeygen.1
%python_uninstall_alternative cftp cftp.1
%python_uninstall_alternative twistd twistd.1
%files -n %{name}-doc
%doc docs/*
- 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
%files %{python_files}
%license LICENSE
%doc NEWS.rst README.rst
%python_alternative %{_bindir}/twistd
%python_alternative %{_bindir}/cftp
%python_alternative %{_bindir}/ckeygen
%python_alternative %{_bindir}/conch
%python_alternative %{_bindir}/pyhtmlizer
%python_alternative %{_bindir}/tkconch
%python_alternative %{_bindir}/trial
%python_alternative %{_bindir}/twist
%python_alternative %{_mandir}/man1/twistd.1%{?ext_man}
%python_alternative %{_mandir}/man1/cftp.1%{?ext_man}
%python_alternative %{_mandir}/man1/ckeygen.1%{?ext_man}
%python_alternative %{_mandir}/man1/conch.1%{?ext_man}
%python_alternative %{_mandir}/man1/pyhtmlizer.1%{?ext_man}
%python_alternative %{_mandir}/man1/tkconch.1%{?ext_man}
%python_alternative %{_mandir}/man1/trial.1%{?ext_man}
- 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
%{python_sitearch}/*
%changelog