219ab46
%global srcname eventlet
219ab46
%global _description %{expand:
219ab46
Eventlet is a networking library written in Python. It achieves high
219ab46
scalability by using non-blocking io while at the same time retaining
219ab46
high programmer usability by using coroutines to make the non-blocking
219ab46
io operations appear blocking at the source code level.}
55843a1
bca1b2e
# RHEL9 doesn't have nose, and it won't be added to EPEL9 because it's
bca1b2e
# abandoned upstream (and deprecated in Fedora).
bca1b2e
# https://bugzilla.redhat.com/show_bug.cgi?id=2041068
bca1b2e
%if %{undefined el9}
bca1b2e
%bcond_without  tests
bca1b2e
%endif
bca1b2e
219ab46
Name:           python-%{srcname}
6481055
Version:        0.36.1
ad2b036
Release:        1%{?dist}
c8b866b
Summary:        Highly concurrent networking library
c8b866b
License:        MIT
c8aa194
219ab46
URL:            https://eventlet.net
219ab46
Source:         %pypi_source %{srcname}
efed009
29f72cd
BuildArch:      noarch
c8b866b
219ab46
%description %{_description}
c8b866b
219ab46
%package -n python3-%{srcname}
29f72cd
Summary:        %{summary}
55843a1
BuildRequires:  python3-devel
c8aa194
219ab46
%description -n python3-%{srcname} %{_description}
55843a1
219ab46
%package -n python3-%{srcname}-doc
219ab46
Summary:        Documentation for python3-%{srcname}
55843a1
219ab46
%description -n python3-%{srcname}-doc
29f72cd
%{summary}.
c8b866b
c8b866b
%prep
0a18325
%autosetup -p1 -n %{srcname}-%{version}
219ab46
ad2b036
sed -i '/ *pip install -e.*/d' tox.ini
ad2b036
219ab46
%generate_buildrequires
ad2b036
%pyproject_buildrequires -t -e %{default_toxenv},docs
ce1cc4e
55843a1
%build
219ab46
%pyproject_wheel
ce1cc4e
c8b866b
%install
219ab46
%pyproject_install
219ab46
%pyproject_save_files %{srcname}
38a72b4
ad2b036
PYTHONPATH="%{buildroot}/%{python3_sitelib}"
ad2b036
%tox -e docs
ad2b036
29f72cd
%check
bca1b2e
%if %{with tests}
61a1b88
# Disable setting up dns (we have no /etc/resolv.conf in mock
61a1b88
export EVENTLET_NO_GREENDNS=yes
ad2b036
%tox -e %{default_toxenv} -- -- -k 'not test_clear and not test_noraise_dns_tcp and not test_raise_dns_tcp and not test_dns_methods_are_green and not test_fork_after_monkey_patch'
bca1b2e
%else
bca1b2e
%pyproject_check_import -t
bca1b2e
%endif
c8b866b
219ab46
%files -n python3-%{srcname} -f %{pyproject_files}
219ab46
%doc README.rst AUTHORS NEWS
c8b866b
219ab46
%files -n python3-%{srcname}-doc
55843a1
%license LICENSE
ad2b036
%doc doc/build/html
c8b866b
c8b866b
%changelog
6481055
* Thu Apr 11 2024 Alfredo Moralejo <amoralej@redhat.com > - 0.36.1-1
6481055
- Update to 0.36.1
6481055
ad2b036
* Fri Apr 5 2024 Alfredo Moralejo <amoralej@redhat.com > - 0.35.1-1
ad2b036
- Update to 0.35.1
ad2b036
afe75a6
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.3-5
afe75a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
afe75a6
dbe6ced
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.3-4
dbe6ced
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
dbe6ced
2870ec2
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.3-3
2870ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2870ec2
68cfbee
* Wed Jun 28 2023 Python Maint <python-maint@redhat.com> - 0.33.3-2
68cfbee
- Rebuilt for Python 3.12
68cfbee
394eb17
* Wed Jan 18 2023 Sandro Mani <manisandro@gmail.com> - 0.33.3-1
394eb17
- Update to 0.33.3
394eb17
b796776
* Sun Sep 25 2022 Kevin Fenzi <kevin@scrye.com> - 0.33.1-5
b796776
- Disable failing test to fix FTBFS
b796776
219ab46
* Tue Jul 26 2022 Carl George <carl@george.computer> - 0.33.1-4
219ab46
- Convert to pyproject macros
986e5fe
- Build docs with make
bca1b2e
- Disable tests on EPEL9
219ab46
0297a42
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.1-3
0297a42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0297a42
a7687a3
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.33.1-2
a7687a3
- Rebuilt for Python 3.11
a7687a3
7d654f1
* Sun May 29 2022 Kevin Fenzi <kevin@scrye.com> - 0.33.1-1
7d654f1
- Update to 0.33.1. Fixes rhbz#2085297
7d654f1
2aa97e9
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.33.0-2
2aa97e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2aa97e9
eba8238
* Sat Jan 08 2022 Kevin Fenzi <kevin@scrye.com> - 0.33.0-1
eba8238
- Update to 0.33.0. Fixes rhbz#2023953
eba8238
8b5c3b4
* Tue Oct 05 2021 Lumír Balhar <lbalhar@redhat.com> - 0.32.0-2
8b5c3b4
- Unbundle dnspython
8b5c3b4
aae6341
* Sat Sep 25 2021 Kevin Fenzi <kevin@scrye.com> - 0.32.0-1
aae6341
- Update to 0.32.0. Fixes rhbz#2000093
aae6341
6e4e6e4
* Fri Jul 30 2021 Kevin Fenzi <kevin@scrye.com> - 0.31.1-1
6e4e6e4
- Update to 0.31.1. Fixes rhbz#1981430
6e4e6e4
- Fix FTBFS rhbz#1981320
6e4e6e4
ac2ef4e
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.0-4
ac2ef4e
- Second attempt - Rebuilt for
ac2ef4e
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ac2ef4e
efed009
* Wed Jun 16 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.31.0-3
efed009
- Backport upstream patch to add compatibility of Eventlet with Python 3.10
efed009
- Fixes: rhbz#1913291
efed009
eb194ce
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.31.0-2
eb194ce
- Rebuilt for Python 3.10
eb194ce
87f2a0f
* Sun May 16 2021 Kevin Fenzi <kevin@scrye.com> - 0.31.0-1
87f2a0f
- Update to 0.31.0. Fixes rhbz#1957249
87f2a0f
- Mitigates CVE-2021-21419
87f2a0f
a38c523
* Sun Mar 07 2021 Kevin Fenzi <kevin@scrye.com> - 0.30.2-1
a38c523
- Update to 0.30.2. Fixes rhbz#1934511
a38c523
7155af0
* Sun Feb 07 2021 Kevin Fenzi <kevin@scrye.com> - 0.30.1-1
7155af0
- Update to 0.30.1. Fixes rhbz#1923933
7155af0
b42b722
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.30.0-2
b42b722
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b42b722
1aa2ad1
* Sat Dec 26 2020 Kevin Fenzi <kevin@scrye.com> - 0.30.0-1
1aa2ad1
- Update to 0.30.0. (rhbz#1907221)
1aa2ad1
c8aa194
* Mon Nov 30 2020 Joel Capitao <jcapitao@redhat.com> - 0.29.1-2.20201102git087ba743
c8aa194
- Bundle dns1 (rhbz#1896191)
c8aa194
ff8a73a
* Fri Nov 06 2020 Joel Capitao <jcapitao@redhat.com> - 0.29.1-1.20201102git087ba743
ff8a73a
- Update to 0.29.1.20201102git087ba743. (rhbz#1862178)
ff8a73a
61a1b88
* Sat Oct 10 2020 Kevin Fenzi <kevin@scrye.com> - 0.26.0-1
61a1b88
- Update to 0.26.0.
61a1b88
04e4b39
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.2-3
04e4b39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
04e4b39
c4e7e0f
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.25.2-2
c4e7e0f
- Rebuilt for Python 3.9
c4e7e0f
547ff5f
* Sat Apr 18 2020 Kevin Fenzi <kevin@scrye.com> - 0.25.2-1
547ff5f
- Update to 0.25.2. Fixes bug #1822602
547ff5f
ab4ed05
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.1-3
ab4ed05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ab4ed05
6a5c6f5
* Thu Sep 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0.25.1-2
6a5c6f5
- Subpackage python2-eventlet has been removed
6a5c6f5
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
6a5c6f5
a8da549
* Thu Aug 22 2019 Kevin Fenzi <kevin@scrye.com> - 0.25.1-1
a8da549
- Update to 0.25.1. Fixes bug #1744357
a8da549
4ff732d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.25.0-3
4ff732d
- Rebuilt for Python 3.8
4ff732d
5a3952e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.25.0-2
5a3952e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5a3952e
f4489cb
* Tue May 28 2019 Kevin Fenzi <kevin@scrye.com> - 0.25.0-1
f4489cb
- Update to 0.25.0. Fixes bug #1713639
f4489cb
8230b67
* Sat Mar 09 2019 Kevin Fenzi <kevin@scrye.com> - 0.24.1-4
8230b67
- Drop python2-eventlet-doc subpackage as python2-sphinx is going away.
8230b67
eccf8d3
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.1-3
eccf8d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
eccf8d3
87774cd
* Tue Nov 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.24.1-2
87774cd
- use python dependency generator
87774cd
3abf537
* Sun Oct 14 2018 Kevin Fenzi <kevin@scrye.com> - 0.24.1-1
3abf537
- Update to 0.24.1. Fixes bug #1611023
3abf537
61e3b0c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-2
61e3b0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
61e3b0c
f80f4be
* Fri Jun 22 2018 Miro Hrončok <mhroncok@redhat.com> - 0.23.0-1
f80f4be
- Update to 0.23.0 (#1575434)
93c07a1
- Add patch for Python 3.7 (#1594248)
f80f4be
8200fee
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.22.1-2
8200fee
- Rebuilt for Python 3.7
8200fee
7ac38d6
* Sun Feb 18 2018 Kevin Fenzi <kevin@scrye.com> - 0.22.1-1
7ac38d6
- Update to 0.22.1. Fixes bug #1546471
7ac38d6
0fb32a0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
0fb32a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0fb32a0
29f72cd
* Sat Jan 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.22.0-1
29f72cd
- Update to 0.22.0
29f72cd
19d8690
* Tue Oct  3 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.21.0-3
19d8690
- Fix upstream #401
19d8690
- Fix compat with PyOpenSSL 17.3.0
19d8690
- Cleanup BR
19d8690
4ead9cf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-2
4ead9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4ead9cf
ce1cc4e
* Tue May 23 2017 Lumír Balhar <lbalhar@redhat.com> - 0.21.0-1
ce1cc4e
- Upstream 0.21.0
ce1cc4e
- Fix issue with enum-compat dependency for dependent packages
ce1cc4e
- Enable tests
ce1cc4e
- Fix tracebacks during docs generating by install python[23]-zmq
ce1cc4e
38a72b4
* Tue Apr 25 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 0.20.1-1
38a72b4
- Upstream 0.20.1
38a72b4
e2b3cf7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.4-4
e2b3cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e2b3cf7
9177a83
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.18.4-3
9177a83
- Rebuild for Python 3.6
9177a83
01b7778
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.4-2
01b7778
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
01b7778
15bddb2
* Mon Apr 25 2016 Kevin Fenzi <kevin@scrye.com> - 0.18.4-1
15bddb2
- Update to 0.18.4. Fixes bug #1329993
15bddb2
c2db52a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.4-6
c2db52a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c2db52a
76c81b1
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.4-5
76c81b1
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
76c81b1
Jon Schlueter 09a2be7
* Mon Oct 19 2015 Jon Schlueter <jschluet@redhat.com> 0.17.4-4
Jon Schlueter 09a2be7
- greenio: send() was running empty loop on ENOTCONN rhbz#1268351
Jon Schlueter 09a2be7
0339194
* Thu Sep 03 2015 Pádraig Brady <pbrady@redhat.com> - 0.17.4-3
0339194
- Tighten up Provides: and Obsoletes: for previous change
0339194
55843a1
* Tue Sep 01 2015 Chandan Kumar <chkumar246@gmail.com> - 0.17.4-2
55843a1
- Added python3 support
55843a1
6b0ea01
* Wed Jul 22 2015 Pádraig Brady <pbrady@redhat.com> - 0.17.4-1
6b0ea01
- Latest upstream
6b0ea01
7264a0a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.3-2
7264a0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7264a0a
174a22b
* Tue Apr 14 2015 Pádraig Brady <pbrady@redhat.com> - 0.17.3-1
174a22b
- Latest upstream
174a22b
fbd5c68
* Tue Mar 31 2015 Pádraig Brady <pbrady@redhat.com> - 0.17.1-1
fbd5c68
- Latest upstream
fbd5c68
0c1488a
* Tue Sep 02 2014 Pádraig Brady <pbrady@redhat.com> - 0.15.2-1
0c1488a
- Latest upstream
0c1488a
1a9adcb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
1a9adcb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1a9adcb
c9064e9
* Mon Oct 28 2013 Alan Pevec <apevec@redhat.com> - 0.14.0-1
c9064e9
- Update to 0.14.0
c9064e9
7fb9ccb
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-2
7fb9ccb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7fb9ccb
06766a7
* Wed Feb 20 2013 Pádraig Brady 
06766a7
- Update to 0.12.0
06766a7
eb7a935
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-3
eb7a935
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
eb7a935
d5dd03c
* Mon Nov 12 2012 Pádraig Brady 
d5dd03c
- fix waitpid() override to not return immediately
d5dd03c
f722c10
* Fri Aug 03 2012 Pádraig Brady 
f722c10
- Update to 0.9.17
f722c10
57ba79d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-7
57ba79d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
57ba79d
87088d3
* Tue Mar 27 2012 Pádraig Brady 
87088d3
- Update patch to avoid leak of _DummyThread objects
87088d3
bf1fe4b
* Mon Mar  5 2012 Pádraig Brady 
bf1fe4b
- Fix patch to avoid leak of _DummyThread objects
bf1fe4b
0150951
* Wed Feb 29 2012 Pádraig Brady 
0150951
- Apply a patch to avoid leak of _DummyThread objects
0150951
b4c840b
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-3
b4c840b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b4c840b
e7db6dc
* Wed Nov 09 2011 Pádraig Brady 
e7db6dc
- Apply a patch to support subprocess.Popen implementations
e7db6dc
  that accept the timeout parameter, which is the case on RHEL >= 6.1
e7db6dc
5eef7d9
* Sat Aug 27 2011 Kevin Fenzi <kevin@scrye.com> - 0.9.16-1
5eef7d9
- Update to 0.9.16
5eef7d9
65ecbc8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.12-2
65ecbc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
65ecbc8
77ce091
* Wed Sep 08 2010 Lev Shamardin <shamardin@gmail.com> - 0.9.12-1
77ce091
- Updated to version 0.9.12.
77ce091
3b5e46c
* Wed Jul 28 2010 Lev Shamardin <shamardin@gmail.com> - 0.9.9-1
3b5e46c
- Updated to version 0.9.9.
3b5e46c
c8b866b
* Wed Apr 14 2010 Lev Shamardin <shamardin@gmail.com> - 0.9.7-1
c8b866b
- Initial package version.