| |
@@ -1,14 +1,21 @@
|
| |
Name: python-hatchling
|
| |
- Version: 0.25.0
|
| |
+ Version: 1.18.0
|
| |
Release: %autorelease
|
| |
Summary: The build backend used by Hatch
|
| |
|
| |
+ # SPDX
|
| |
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
|
| |
+ # Written for Fedora in groff_man(7) format based on --help output
|
| |
+ Source100: hatchling.1
|
| |
+ Source200: hatchling-build.1
|
| |
+ Source300: hatchling-dep.1
|
| |
+ Source310: hatchling-dep-synced.1
|
| |
+ Source400: hatchling-metadata.1
|
| |
+ Source500: hatchling-version.1
|
| |
+
|
| |
+ Patch: 0001-Downstream-only-loosen-dependency-versions-for-EPEL9.patch
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -29,11 +36,11 @@
|
| |
|
| |
|
| |
%prep
|
| |
- %autosetup -n hatchling-%{version}
|
| |
+ %autosetup -n hatchling-%{version} -p2
|
| |
|
| |
|
| |
%generate_buildrequires
|
| |
- %pyproject_buildrequires -w
|
| |
+ %pyproject_buildrequires
|
| |
|
| |
|
| |
%build
|
| |
@@ -43,21 +50,27 @@
|
| |
%install
|
| |
%pyproject_install
|
| |
%pyproject_save_files hatchling
|
| |
- install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
|
| |
+
|
| |
+ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \
|
| |
+ '%{SOURCE100}' \
|
| |
+ '%{SOURCE200}' \
|
| |
+ '%{SOURCE300}' '%{SOURCE310}' \
|
| |
+ '%{SOURCE400}' \
|
| |
+ '%{SOURCE500}'
|
| |
|
| |
|
| |
%check
|
| |
# It’s not yet clear how, or if, we can run the upstream tests.
|
| |
- # https://github.com/ofek/hatch/issues/120
|
| |
+ # https://github.com/pypa/hatch/issues/120
|
| |
%pyproject_check_import
|
| |
|
| |
|
| |
%files -n python3-hatchling -f %{pyproject_files}
|
| |
- %license LICENSE.txt
|
| |
%doc README.md
|
| |
|
| |
%{_bindir}/hatchling
|
| |
%{_mandir}/man1/hatchling.1*
|
| |
+ %{_mandir}/man1/hatchling-*.1*
|
| |
|
| |
|
| |
%changelog
|
| |
Merge commit '2281a63' into epel9.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=2158497, thanks to an investigation by Martin Hoyer.
Later versions are blocked by the absence of python-trove-classifiers (which wants a newer setuptools) in EPEL9.This can proceed after I have PRs ready to deliver corresponding versions of hatch and python-hatch-vcs, and after I have confirmed there is no impact on existing EPEL9 packages.