From d3188dbe2caee58b3ab6cb6b116e5f74e7a1c775 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jul 28 2022 15:57:57 +0000 Subject: Update to 4.0.2 Related-to: https://review.rdoproject.org/r/q/If4863cf754e8da288b5b8da9a24da7d225a118b8 --- diff --git a/.python-async-timeout.metadata b/.python-async-timeout.metadata new file mode 100644 index 0000000..b6efa15 --- /dev/null +++ b/.python-async-timeout.metadata @@ -0,0 +1 @@ +35e282ac55a3ee6265db90a2eb17a475fbbd16ab SOURCES/python-async-timeout-4.0.2.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-async-timeout.spec b/SPECS/python-async-timeout.spec new file mode 100644 index 0000000..c1f180e --- /dev/null +++ b/SPECS/python-async-timeout.spec @@ -0,0 +1,176 @@ +%global srcname async-timeout +%global common_desc asyncio-compatible timeout context manager\ +The context manager is useful in cases when you want to apply timeout\ +logic around block of code or in cases when asyncio.wait_for() is not \ +suitable. Also it's much faster than asyncio.wait_for() because timeout\ +doesn't create a new task. + +%if %{defined fedora} +%bcond_without tests +%endif + +Name: python-%{srcname} +Version: 4.0.2 +Release: 5%{?dist} +Summary: An asyncio-compatible timeout context manager + +License: ASL 2.0 +URL: https://github.com/aio-libs/async-timeout +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +%description +%{common_desc} + +# This module is Python 3 only +%package -n python3-%{srcname} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +%if %{with tests} +BuildRequires: python3-pytest +BuildRequires: python3-pytest-asyncio +%endif + +%description -n python3-%{srcname} +%{common_desc} + +%prep +%autosetup -n %{srcname}-%{version} +# remove pytest coverage flags +sed -e '/^addopts/d' -i setup.cfg + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files async_timeout + +%check +%if %{with tests} +%pytest +%else +%pyproject_check_import +%endif + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.rst CHANGES.rst + +%changelog +* Fri Jul 22 2022 Fedora Release Engineering - 4.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 4.0.2-4 +- Rebuilt for Python 3.11 + +* Mon Jun 13 2022 Python Maint - 4.0.2-3 +- Bootstrap for Python 3.11 + +* Tue Apr 19 2022 Carl George - 4.0.2-2 +- Convert to pyproject macros + +* Fri Jan 21 2022 Fabian Affolter - 4.0.2-1 +- Update to latest upstream release 4.0.2 (closes rhbz#2034329) + +* Fri Jan 21 2022 Fedora Release Engineering - 4.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Nov 25 2021 Fabian Affolter - 4.0.1-1 +- Update to latest upstream release 4.0.1 (closes rhbz#1768164) + +* Fri Jul 23 2021 Fedora Release Engineering - 3.0.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.0.1-13 +- Rebuilt for Python 3.10 + +* Fri Jun 04 2021 Python Maint - 3.0.1-12 +- Bootstrap for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.0.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 25 2020 Miro Hrončok - 3.0.1-9 +- Rebuilt for Python 3.9 + +* Sun May 24 2020 Miro Hrončok - 3.0.1-8 +- Bootstrap for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 3.0.1-6 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 3.0.1-5 +- Rebuilt for Python 3.8 + +* Mon Aug 19 2019 Miro Hrončok - 3.0.1-4 +- Bootstrap for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jun 21 2019 Fabian Affolter - 3.0.1-2 +- Enable tests + +* Mon May 06 2019 Fabian Affolter - 3.0.1-1 +- Update to latest upstream release 3.0.1 (rhbz#1707011) + +* Sat Feb 02 2019 Fedora Release Engineering - 3.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 3.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.0.0-2 +- Rebuilt for Python 3.7 + +* Sat May 05 2018 Fabian Affolter - 3.0.0-1 +- Update to latest upstream release 3.0.0 (rhbz#1575247) + +* Thu Mar 15 2018 Fabian Affolter - 2.0.1-1 +- Update to latest upstream release 2.0.1 (rhbz#1554798) + +* Fri Feb 09 2018 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Sep 17 2017 Athmane Madjoudj - 1.4.0-1 +- Update to 1.4.0 (rhbz #1484848) + +* Fri Aug 25 2017 Fabian Affolter - 1.3.0-1 +- Update to latest upstream release 1.3.0 (rhbz#1484848) + +* Thu Jul 27 2017 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri May 12 2017 Athmane Madjoudj - 1.2.1-1 +- Update to 1.2.1 + +* Sun Mar 19 2017 Igor Gnatenko - 1.2.0-1 +- Update to 1.2.0 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 1.1.0-4 +- Rebuild for Python 3.6 + +* Thu Nov 17 2016 Athmane Madjoudj - 1.1.0-3 +- Add missing BR +- Rename the pkg + +* Sun Nov 13 2016 Athmane Madjoudj - 1.1.0-2 +- Update files section and the description + +* Fri Nov 11 2016 Athmane Madjoudj - 1.1.0-1 +- Initial spec +