commit 6a4f96f3f5671072322d7fc64cfbef071bf1c417 Author: tigro Date: Sat Jan 4 23:05:44 2025 +0300 import python-aiosignal-1.3.1-17.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2e038d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/aiosignal-1.3.1.tar.gz diff --git a/.python-aiosignal.metadata b/.python-aiosignal.metadata new file mode 100644 index 0000000..ac2af09 --- /dev/null +++ b/.python-aiosignal.metadata @@ -0,0 +1 @@ +3e1acbae677955c523af2022527615f1bb1b0515 SOURCES/aiosignal-1.3.1.tar.gz diff --git a/SPECS/python-aiosignal.spec b/SPECS/python-aiosignal.spec new file mode 100644 index 0000000..c08f452 --- /dev/null +++ b/SPECS/python-aiosignal.spec @@ -0,0 +1,140 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 17; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: python-aiosignal +Version: 1.3.1 +Release: %autorelease +Summary: List of registered asynchronous callbacks + +License: Apache-2.0 +URL: https://github.com/aio-libs/aiosignal +Source: %{pypi_source aiosignal} + +BuildArch: noarch + +BuildRequires: python3-devel + +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-asyncio) + +%global common_description %{expand: +A project to manage callbacks in asyncio projects.} + +%description %{common_description} + + +%package -n python3-aiosignal +Summary: %{summary} + +Obsoletes: python-aiosignal-doc < 1.3.1-15 + +%description -n python3-aiosignal %{common_description} + + +%prep +%autosetup -n aiosignal-%{version} -p1 + +# Patch out coverage options +sed -r -i 's/--cov[^[:blank:]]*//g' setup.cfg + +# Do not fail on warnings +sed -zi 's/filterwarnings = error/filterwarnings = default/' setup.cfg + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files -l aiosignal + + +%check +%pytest + + +%files -n python3-aiosignal -f %{pyproject_files} +%license LICENSE +%doc CHANGES.rst CONTRIBUTORS.txt README.rst + + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 1.3.1-17 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.3.1-16 +- Rebuilt for Python 3.13 + +* Thu May 30 2024 Benjamin A. Beasley - 1.3.1-15 +- F41+: Stop building PDF documentation; drop -doc subpackage + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.3.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Dec 17 2023 Benjamin A. Beasley - 1.3.1-11 +- Assert that %%pyproject_files contains a license file + +* Wed Nov 15 2023 Benjamin A. Beasley - 1.3.1-10 +- Drop sphinxcontrib-asyncio doc dependency + +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Benjamin A. Beasley - 1.3.1-8 +- When PDF docs are disabled, omit the -doc subpackage + +* Fri Jul 07 2023 Benjamin A. Beasley - 1.3.1-7 +- Use new (rpm 4.17.1+) bcond style + +* Wed Jun 14 2023 Python Maint - 1.3.1-6 +- Rebuilt for Python 3.12 + +* Thu Jun 08 2023 Tomáš Hrnčiar - 1.3.1-5 +- Do not fail on warnings + +* Fri Mar 17 2023 Benjamin A. Beasley - 1.3.1-3 +- Don’t assume %%_smp_mflags is -j%%_smp_build_ncpus + +* Fri Jan 20 2023 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 09 2022 Benjamin A. Beasley - 1.3.1-1 +- Update to 1.3.1 (close RHBZ#2141091) + +* Fri Oct 21 2022 Benjamin A. Beasley - 1.2.0-6 +- Update License to SPDX + +* Fri Jul 22 2022 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.2.0-4 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Benjamin A. Beasley - 1.2.0-2 +- Drop intersphinx mappings + +* Mon Dec 13 2021 Benjamin A. Beasley - 1.2.0-1 +- Initial package (close RHBZ#2029682) +## END: Generated by rpmautospec