f30621c
%global pypiname trollius
f30621c
Name:           python-trollius
f30621c
Version:        2.1
117f47a
Release:        18%{?dist}
f30621c
Summary:        A port of the Tulip asyncio module to Python 2
f30621c
f30621c
License:        ASL 2.0
f30621c
URL:            https://github.com/haypo/trollius
f30621c
Source0:        https://files.pythonhosted.org/packages/source/t/%{pypiname}/%{pypiname}-%{version}.tar.gz
93b11a8
# async is a keyword in python 3.7, thus cannot be a function name
93b11a8
Patch0:         %{name}-async.patch
f30621c
f30621c
BuildArch:      noarch
f30621c
BuildRequires:  python3-devel
f30621c
BuildRequires:  python3-setuptools
f30621c
f30621c
f30621c
%global _description\
f30621c
\
f30621c
Trollius provides infrastructure for writing single-threaded\
f30621c
concurrent code using coroutines, multiplexing I/O access over sockets\
f30621c
and other resources, running network clients and servers, and other\
f30621c
related primitives.\
f30621c
\
f30621c
Trollius is a portage of the asyncio project (PEP 3156) on Python\
f30621c
2. Trollius works on Python 2.6-3.5. It has been tested on Windows,\
f30621c
Linux, Mac OS X, FreeBSD and OpenIndiana.
f30621c
f30621c
%description %_description
f30621c
f30621c
%package -n python3-trollius
f30621c
Summary: A port of the Tulip asyncio module
f30621c
f30621c
%description -n python3-trollius
f30621c
f30621c
Trollius provides infrastructure for writing single-threaded
f30621c
concurrent code using coroutines, multiplexing I/O access over sockets
f30621c
and other resources, running network clients and servers, and other
f30621c
related primitives.
f30621c
f30621c
Trollius is a portage of the asyncio project (PEP 3156) on Python
f30621c
2. Trollius works on Python 2.6-3.5. It has been tested on Windows,
f30621c
Linux, Mac OS X, FreeBSD and OpenIndiana.
f30621c
f30621c
%prep
f30621c
%setup -q -n %{pypiname}-%{version}
93b11a8
%patch0
f30621c
f30621c
%build
ec795a5
%py3_build
f30621c
f30621c
%install
ec795a5
%py3_install
f30621c
f30621c
%check
f30621c
# these are currently causing koji builds to hang
f30621c
#%{__python3} runtests.py -v1 -x test_subprocess_kill
f30621c
f30621c
%files -n python3-trollius
f30621c
%defattr(-,root,root,-)
f30621c
%doc README.rst
f30621c
%dir %{python3_sitelib}/trollius
f30621c
%{python3_sitelib}/trollius/*.py
f30621c
%{python3_sitelib}/trollius/__pycache__
03b3d5e
%{python3_sitelib}/%{pypiname}-%{version}-py%{python3_version}.egg-info/
f30621c
f30621c
%changelog
117f47a
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-18
117f47a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
117f47a
6a7f990
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-17
6a7f990
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6a7f990
89130fa
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1-16
89130fa
- Rebuilt for Python 3.9
89130fa
801b9b6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-15
801b9b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
801b9b6
33d8cd7
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-14
33d8cd7
- Rebuilt for Python 3.8.0rc1 (#1748018)
33d8cd7
806ca45
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-13
806ca45
- Rebuilt for Python 3.8
806ca45
d450aa5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-12
d450aa5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d450aa5
ec795a5
* Wed Apr 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1-11
ec795a5
- Subpackage python2-trollius has been removed
ec795a5
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
ec795a5
b21b9a0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-10
b21b9a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b21b9a0
93b11a8
* Sat Jul 21 2018 Jerry James <loganjerry@gmail.com> - 2.1-9
93b11a8
- Add -async patch to fix FTBFS (bz 1593133)
93b11a8
f30621c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1-9
f30621c
- Rebuilt for Python 3.7
f30621c
f30621c
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.1-8
f30621c
- Update Python 2 dependency declarations to new packaging standards
f30621c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
f30621c
f30621c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-7
f30621c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f30621c
f30621c
* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1-6
f30621c
- Python 2 binary package renamed to python2-trollius
f30621c
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
f30621c
f30621c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
f30621c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f30621c
f30621c
* Tue Feb  7 2017 Ian Wienand <iwienand@redhat.com> - 2.1-4
f30621c
- Add python-six dependency (rhbz#1402775)
f30621c
f30621c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1-3
f30621c
- Rebuild for Python 3.6
f30621c
f30621c
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
f30621c
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f30621c
f30621c
* Tue Jun 14 2016 Matthias Runge <mrunge@redhat.com> - 2.1-1
f30621c
- update to 2.1 (rhbz#1101234)
f30621c
f30621c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-3
f30621c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f30621c
f30621c
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
f30621c
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
f30621c
f30621c
* Tue Jul 14 2015 Ian Wienand <iwienand@redhat.com> - 2.0-1
f30621c
- update to 2.0 - rhbz#1101234
f30621c
f30621c
* Mon Jun 15 2015 Ian Wienand <iwienand@redhat.com> - 1.0.4-2
f30621c
- add python3 - rhbz#1230868
f30621c
f30621c
* Wed Jan  7 2015 Ian Wienand <iwienand@redhat.com> - 1.0.4-1
f30621c
- update to 1.0.4
f30621c
- add python-mock as build dependency for tests
f30621c
f30621c
* Fri Aug 15 2014 Ian Wienand <iwienand@redhat.com> - 1.0.1-1
f30621c
- update to 1.0.1
f30621c
f30621c
* Mon Jul  7 2014 Ian Wienand <iwienand@redhat.com> - 0.4-1
f30621c
- update to 0.4
f30621c
- 0.3 changed module name to trollius for python3.4 compatability
f30621c
  (issue #8; see README)
f30621c
f30621c
* Wed Apr 16 2014 Ian Wienand <iwienand@redhat.com> - 0.2-2
f30621c
- fix python-ordereddict dependency typo
f30621c
f30621c
* Mon Mar 24 2014 Ian Wienand <iwienand@fedora19> - 0.2-1
f30621c
- update to 0.2
f30621c
f30621c
* Tue Mar  4 2014  <iwienand@redhat.com> - 0.1.5-3
f30621c
- add python-futures as build-dep
f30621c
- add __python2* macros; convert to them
f30621c
f30621c
* Thu Feb 20 2014  <iwienand@redhat.com> - 0.1.5-2
f30621c
- change license to ASL 2.0
f30621c
- add defattr (from rpmlint)
f30621c
- add group tag (from rpmlint)
f30621c
f30621c
* Tue Feb 18 2014  <iwienand@redhat.com> - 0.1.5-1
f30621c
- Initial release