%define pkgmajver %(echo %{version} | cut -d. -f 1-2) Name: python-twisted Version: 22.10.0 Release: 1mamba Summary: Event-driven networking framework written in Python Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://twisted.org/ Source: https://pypi.debian.net/Twisted/Twisted-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel BuildRequires: python3.7dist(attrs) BuildRequires: python3.7dist(automat) BuildRequires: python3.7dist(constantly) BuildRequires: python3.7dist(hyperlink) BuildRequires: python3.7dist(incremental) BuildRequires: python3.7dist(setuptools) BuildRequires: python3.7dist(typing-extensions) BuildRequires: python3.7dist(zope.interface) ## AUTOBUILDREQ-END %description An event-driven networking framework written in Python and licensed under the LGPL. Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, FTP, andothers), and much more. %if 0%{?with_pyver} %pyver_package %endif %package docs Summary: Documentation for the Twisted networking framework Group: Documentation %description docs An event-driven networking framework written in Python and licensed under the LGPL. Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols (including HTTP, NNTP, SSH, IRC, FTP, andothers), and much more. This package contains all the documentation for Twisted. %prep %setup -q -n Twisted-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "/iocpsupport.*\.so$/d" %{name}.filelist %if 0%{?with_pyver} sed -i "/_sendmsg.cpython-3.m.*\.so$/d" %{name}.filelist for f in %{buildroot}%{_bindir}/*; do mv $f ${f}%{with_pyver} n=`basename $f` sed -i "s|%{_bindir}/${n}$|%{_bindir}/${n}%{with_pyver}|" %{name}.filelist done %endif #install -d %{buildroot}%{_mandir}/man1/ #cp -a doc/*/man/*.1 %{buildroot}%{_mandir}/man1/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %{?pyappend} -f %{name}.filelist %defattr(-, root, root) %dir %{python_sitearch}/Twisted-%{version}-py*.egg-info %{python_sitearch}/Twisted-%{version}-py*.egg-info/* %changelog * Thu Nov 24 2022 Silvan Calarco 22.10.0-1mamba - update to 22.10.0 * Thu Sep 08 2022 Automatic Build System 22.8.0-1mamba - automatic version update by autodist * Tue Apr 12 2022 Automatic Build System 22.4.0-1mamba - automatic version update by autodist * Fri Mar 04 2022 Automatic Build System 22.2.0-1mamba - automatic version update by autodist * Tue Feb 08 2022 Automatic Build System 22.1.0-1mamba - automatic version update by autodist * Thu Jul 29 2021 Automatic Build System 21.7.0-1mamba - automatic version update by autodist * Fri Apr 09 2021 Silvan Calarco 21.2.0-1mamba - update to 21.2.0 * Thu Apr 23 2020 Automatic Build System 20.3.0-1mamba - automatic version update by autodist * Thu Nov 21 2019 Automatic Build System 19.10.0-1mamba - automatic version update by autodist * Sun Oct 27 2019 Automatic Build System 19.7.0-1mamba - automatic version update by autodist * Sat Jun 08 2019 Automatic Build System 19.2.1-1mamba - automatic version update by autodist * Sat May 25 2019 Automatic Build System 19.2.0-1mamba - automatic version update by autodist * Thu Jan 10 2019 Silvan Calarco 18.9.0-2mamba - rebuild with python 3.6 support * Tue Oct 23 2018 Automatic Build System 18.9.0-1mamba - automatic version update by autodist * Tue Oct 09 2018 Silvan Calarco 18.7.0-2mamba - rebuilt with multiple python versions * Mon Aug 06 2018 Automatic Build System 18.7.0-1mamba - automatic version update by autodist * Fri May 25 2018 Automatic Build System 18.4.0-1mamba - automatic version update by autodist * Wed Oct 04 2017 Automatic Build System 17.9.0-1mamba - automatic version update by autodist * Wed Aug 09 2017 Automatic Build System 17.5.0-1mamba - automatic version update by autodist * Fri Mar 31 2017 Automatic Build System 17.1.0-1mamba - automatic version update by autodist * Thu Dec 01 2016 Automatic Build System 16.6.0-1mamba - automatic version update by autodist * Thu Nov 24 2016 Automatic Build System 16.5.0-1mamba - automatic version update by autodist * Mon Sep 19 2016 Automatic Build System 16.4.1-1mamba - automatic update by autodist * Fri Aug 19 2016 Automatic Build System 16.3.2-1mamba - automatic version update by autodist * Wed Aug 17 2016 Automatic Build System 16.3.1-1mamba - automatic version update by autodist * Wed Jul 13 2016 Automatic Build System 16.3.0-1mamba - automatic version update by autodist * Thu Jun 02 2016 Automatic Build System 16.2.0-1mamba - automatic version update by autodist * Sat Apr 30 2016 Automatic Build System 16.1.1-1mamba - automatic version update by autodist * Sat Mar 19 2016 Automatic Build System 16.0.0-1mamba - automatic version update by autodist * Thu Dec 03 2015 Automatic Build System 15.5.0-1mamba - automatic version update by autodist * Thu Sep 24 2015 Automatic Build System 15.4.0-1mamba - automatic version update by autodist * Sat Sep 12 2015 Automatic Build System 15.3.0-1mamba - automatic version update by autodist * Fri Jun 05 2015 Automatic Build System 15.2.1-1mamba - automatic version update by autodist * Mon Apr 13 2015 Automatic Build System 15.1.0-1mamba - automatic version update by autodist * Sat Jan 31 2015 Automatic Build System 15.0.0-1mamba - automatic version update by autodist * Fri Sep 19 2014 Automatic Build System 14.0.2-1mamba - automatic version update by autodist * Thu Sep 18 2014 Automatic Build System 14.0.1-1mamba - automatic version update by autodist * Sun Jun 15 2014 Silvan Calarco 14.0.0-1mamba - update to 14.0.0 * Fri May 17 2013 Silvan Calarco 10.2.0-2mamba - python 2.7 mass rebuild * Wed Oct 05 2011 Silvan Calarco 10.2.0-1mamba - update to 10.2.0 * Mon Aug 23 2010 Davide Madrisan 8.2.0-1mamba - update to 8.2.0 * Sun Dec 07 2008 gil 8.1.0-2mamba - built with python 2.6 and new python-twisted * Mon Aug 11 2008 gil 8.1.0-1mamba - update to 8.1.0 - changed buildrequires python-devel with libpython-devel - edit source * Thu Aug 16 2007 Tiziana Ferro 2.5.0-1mamba - package created by autospec