## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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.5.3 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>=67.8/setuptools>=67.7/' pyproject.toml %generate_buildrequires %pyproject_buildrequires -w -x testing %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyproject_api %check # We don't want to depend on Python 2 %pytest -k "not test_can_build_on_python_2" %files -n python3-pyproject-api -f %{pyproject_files} %doc README.md %changelog * Wed Aug 16 2023 Tomáš Hrnčiar - 1.5.3-1 - Uncommitted changes * 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