## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec Name: python-hatchling Version: 0.22.0 Release: 1%{dist} Summary: The build backend used by Hatch License: MIT URL: https://pypi.org/project/hatchling Source0: %{pypi_source hatchling} # Man page in groff_man(7) format, hand-written for Fedora based on package # metadata and --help output Source1: hatchling.1 BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-pathspec BuildRequires: python%{python3_pkgversion}-tomli %global common_description %{expand: This is the extensible, standards compliant build backend used by Hatch.} %description %{common_description} %package -n python%{python3_pkgversion}-hatchling Summary: %{summary} %description -n python%{python3_pkgversion}-hatchling %{common_description} %prep %autosetup -n hatchling-%{version} # F35, EPEL9, and older: # The changes between pluggy 0.13.1 and 1.0.0 should not be significant, so we # loosen the minimum version. sed -r -i 's/(pluggy>=)1\.0\.0/\10.13.1/' src/hatchling/ouroboros.py # EPEL9: # Since hatchling uses packaging 20.9 for Python 2, we hope and expect it can # work for Python 3 as well. sed -r -i 's/(packaging>=)21\.3/\120.4/' src/hatchling/ouroboros.py # Cannot use -r (the default) with hatchling: “ValueError: build backend cannot # provide build metadata (incl. runtime requirements) before build”. We work # around this by writing the dependencies from src/hatchling/ourobororos.py # into a text file. PYTHONPATH="${PWD}/src" '%{python3}' < 0.25.0-1 - Update to 0.25.0 (close RHBZ#2086373) * Mon May 02 2022 Benjamin A. Beasley 0.24.0-2 - Backport to EPEL9 * Sat Apr 30 2022 Benjamin A. Beasley 0.24.0-1 - Update to 0.24.0 (close RHBZ#2079689) * Sun Mar 27 2022 Benjamin A. Beasley 0.22.0-1 - Update to 0.22.0 (close RHBZ#2068853) * Tue Mar 22 2022 Benjamin A. Beasley 0.21.1-1 - Update to 0.21.1 (close RHBZ#2066578) * Fri Mar 18 2022 Benjamin A. Beasley 0.21.0-1 - Update to 0.21.0 (close RHBZ#2065524) * Mon Mar 07 2022 Benjamin A. Beasley 0.20.1-1 - Update to 0.20.1 (close RHBZ#2061214) * Mon Feb 28 2022 Benjamin A. Beasley 0.18.0-1 - Update to 0.18.0 (close RHBZ#2059065) * Sun Feb 27 2022 Benjamin A. Beasley 0.17.0-1 - Update to 0.17.0 (close RHBZ#2058939) * Sat Feb 26 2022 Benjamin A. Beasley 0.16.0-1 - Update to 0.16.0 (close RHBZ#2058884) * Wed Feb 23 2022 Benjamin A. Beasley 0.15.0-1 - Update to 0.15.0 (close RHBZ#2057315) * Sun Feb 20 2022 Benjamin A. Beasley 0.14.0-1 - Update to 0.14.0 (close RHBZ#2050889) * Sun Feb 20 2022 Benjamin A. Beasley 0.11.3-3 - Simplify man page installation * Sun Feb 20 2022 Benjamin A. Beasley 0.11.3-2 - Clarify man page hand-written status * Sun Feb 20 2022 Benjamin A. Beasley 0.11.3-1 - Initial package