Name: python-hatchling Version: 0.20.1 Release: %autorelease 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: python3-devel %global common_description %{expand: This is the extensible, standards compliant build backend used by Hatch.} %description %{common_description} %package -n python3-hatchling Summary: %{summary} %description -n python3-hatchling %{common_description} %prep %autosetup -n hatchling-%{version} %generate_buildrequires # 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}' <