## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.8.0 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 sed -i 's/"setuptools>=.*"/"setuptools"/' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x testing %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyproject_api %check # Skip test_setuptools_prepare_metadata_for_build_wheel # see https://github.com/tox-dev/pyproject-api/issues/153 %pytest -k "not test_setuptools_prepare_metadata_for_build_wheel" %files -n python3-pyproject-api -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Oct 30 2024 Lumir Balhar - 1.8.0-1 - Update to 1.8.0 (rhbz#2293740) * Tue Sep 24 2024 Karolina Surma - 1.6.1-6 - Don't build wheel when generating buildrequires * 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