From e2ac0553e7eb8a5443faccd47b43c411595681e5 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 17 Dec 2024 21:04:26 +0300 Subject: [PATCH] import python-pyproject-api-1.6.1-5.el10 --- .gitignore | 1 + .python-pyproject-api.metadata | 1 + SPECS/python-pyproject-api.spec | 121 ++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 .gitignore create mode 100644 .python-pyproject-api.metadata create mode 100644 SPECS/python-pyproject-api.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7952b4d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pyproject_api-1.6.1.tar.gz diff --git a/.python-pyproject-api.metadata b/.python-pyproject-api.metadata new file mode 100644 index 0000000..1ae15c5 --- /dev/null +++ b/.python-pyproject-api.metadata @@ -0,0 +1 @@ +24aa76af83b163e679d41ea440a9963d62a78aef SOURCES/pyproject_api-1.6.1.tar.gz diff --git a/SPECS/python-pyproject-api.spec b/SPECS/python-pyproject-api.spec new file mode 100644 index 0000000..c1cdace --- /dev/null +++ b/SPECS/python-pyproject-api.spec @@ -0,0 +1,121 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 5; + 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-pyproject-api +Version: 1.6.1 +Release: %autorelease +Summary: API to interact with the python pyproject.toml based projects + +License: MIT +URL: https://pyproject-api.readthedocs.org +Source0: https://files.pythonhosted.org/packages/source/p/pyproject-api/pyproject_api-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros + +%global _description %{expand: +API to interact with the python pyproject.toml based projects.} + +%description %_description + +%package -n python3-pyproject-api +Summary: %{summary} + +%description -n python3-pyproject-api %_description + +%prep +%autosetup -n pyproject_api-%{version} +# Remove unneeded testing deps +sed -i "/covdefaults/d;/pytest-cov/d" pyproject.toml + +%generate_buildrequires +%pyproject_buildrequires -w -x testing + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files pyproject_api + +%check +%pytest + +%files -n python3-pyproject-api -f %{pyproject_files} +%doc README.md + +%changelog +* Tue Dec 17 2024 Arkady L. Shane - 1.6.1-5 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 1.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.6.1-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Oct 23 2023 Miro Hrončok - 1.6.1-1 +- Update to 1.6.1 +- Fixes: rhbz#2215138 + +* Fri Jul 21 2023 Fedora Release Engineering - 1.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 1.5.1-2 +- Rebuilt for Python 3.12 + +* Mon Mar 13 2023 Lumir Balhar - 1.5.1-1 +- Update to 1.5.1 (rhbz#2177516) + +* Fri Jan 20 2023 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jan 18 2023 Lumir Balhar - 1.5.0-1 +- Update to 1.5.0 (rhbz#2161818) + +* Thu Jan 05 2023 Lumir Balhar - 1.4.0-1 +- Update to 1.4.0 (rhbz#2158206) + +* Tue Jan 03 2023 Lumír Balhar - 1.3.0-1 +- Update to 1.3.0 (rhbz#2157941) + +* Wed Dec 07 2022 Lumír Balhar - 1.2.1-1 +- Update to 1.2.1 (rhbz#2150693) + +* Tue Nov 01 2022 Lumír Balhar - 1.1.2-1 +- Update to 1.1.2 +Resolves: rhbz#2138752 + +* Tue Sep 13 2022 Lumír Balhar - 1.1.1-1 +- Update to 1.1.1 +Resolves: rhbz#2126242 + +* Sun Sep 11 2022 Lumír Balhar - 1.1.0-1 +- Update to 1.1.0 +Resolves: rhbz#2125780 + +* Fri Jul 22 2022 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.1.1-2 +- Rebuilt for Python 3.11 + +* Mon Feb 07 2022 Lumír Balhar - 0.1.1-1 +- Initial package + +## END: Generated by rpmautospec