diff --git a/.gitignore b/.gitignore index 592de0d..3fafe10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,40 +1 @@ -/hatchling-0.11.3.tar.gz -/hatchling-0.14.0.tar.gz -/hatchling-0.15.0.tar.gz -/hatchling-0.16.0.tar.gz -/hatchling-0.17.0.tar.gz -/hatchling-0.18.0.tar.gz -/hatchling-0.20.1.tar.gz -/hatchling-0.21.0.tar.gz -/hatchling-0.21.1.tar.gz -/hatchling-0.22.0.tar.gz -/hatchling-0.24.0.tar.gz -/hatchling-0.25.0.tar.gz -/hatchling-1.0.0.tar.gz -/hatchling-1.1.0.tar.gz -/hatchling-1.2.0.tar.gz -/hatchling-1.3.0.tar.gz -/hatchling-1.3.1.tar.gz -/hatchling-1.4.1.tar.gz -/hatchling-1.5.0.tar.gz -/hatchling-1.6.0.tar.gz -/hatchling-1.8.0.tar.gz -/hatchling-1.8.1.tar.gz -/hatchling-1.9.0.tar.gz -/hatchling-1.10.0.tar.gz -/hatchling-1.11.0.tar.gz -/hatchling-1.11.1.tar.gz -/hatchling-1.12.1.tar.gz -/hatchling-1.12.2.tar.gz -/hatchling-1.13.0.tar.gz -/hatchling-1.14.0.tar.gz -/hatchling-1.14.1.tar.gz -/hatchling-1.15.0.tar.gz -/hatchling-1.16.0.tar.gz -/hatchling-1.16.1.tar.gz -/hatchling-1.17.0.tar.gz -/hatchling-1.17.1.tar.gz -/hatchling-1.18.0.tar.gz -/hatchling-1.20.0.tar.gz -/hatchling-1.21.0.tar.gz -/hatchling-1.21.1.tar.gz +SOURCES/hatchling-1.25.0.tar.gz diff --git a/.python-hatchling.metadata b/.python-hatchling.metadata new file mode 100644 index 0000000..dcea987 --- /dev/null +++ b/.python-hatchling.metadata @@ -0,0 +1 @@ +0f0dff23ac5bc793100efab4320c7c83bf585bd4 SOURCES/hatchling-1.25.0.tar.gz diff --git a/0001-Downstream-only-loosen-dependency-versions-for-EPEL9.patch b/0001-Downstream-only-loosen-dependency-versions-for-EPEL9.patch deleted file mode 100644 index 4fed590..0000000 --- a/0001-Downstream-only-loosen-dependency-versions-for-EPEL9.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 434141ae48b911d3b56675a34f38f9ffbb49b641 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" -Date: Mon, 24 Jul 2023 11:30:02 -0400 -Subject: [PATCH] Downstream-only: loosen dependency versions for EPEL9 - -See discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2158497. ---- - backend/pyproject.toml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/backend/pyproject.toml b/backend/pyproject.toml -index 8e4e5ffc..2655b7d6 100644 ---- a/backend/pyproject.toml -+++ b/backend/pyproject.toml -@@ -35,9 +35,9 @@ classifiers = [ - ] - dependencies = [ - "editables>=0.3", -- "packaging>=21.3", -+ "packaging>=20.9", - "pathspec>=0.10.1", -- "pluggy>=1.0.0", -+ "pluggy>=0.13.1", - "tomli>=1.2.2; python_version < '3.11'", - "trove-classifiers", - ] --- -2.41.0 - diff --git a/SOURCES/hatchling-build.1 b/SOURCES/hatchling-build.1 new file mode 100644 index 0000000..4dd72bb --- /dev/null +++ b/SOURCES/hatchling-build.1 @@ -0,0 +1,43 @@ +.TH HATCHLING\-BUILD "1" "March 2024" "" "User Commands" +.SH NAME +.B hatchling\ build +.SH SYNOPSIS +.B hatchling\ build +.RB [ \-h ] +.RB [ \-d ] +.RB [ \-t ] +.RB [ \-\-hooks\-only ] +.RB [ \-\-no\-hooks ] +.RB [ \-c ] +.RB [ \-\-clean\-hooks\-after ] +.RB [ \-\-clean\-only ] +.RB [ \-\-show\-dynamic\-deps ] +.SH OPTIONS +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.TP +.B \-d\fR,\ \fB\-\-directory +The directory in which to build artifacts +.TP +.B \-t\fR,\ \fB\-\-targets +Comma-separated list of targets to build, overriding project defaults +.TP +.B \-\-hooks\-only +.TP +.B \-\-no\-hooks +.TP +.B \-c\fR,\ \fB\-\-clean +.TP +.B \-\-clean\-hooks\-after +.TP +.B \-\-clean\-only +.TP +.B \-\-show\-dynamic\-deps +.SH "SEE\ ALSO" +.BR hatchling\-dep (1), +.BR hatchling\-metadata (1), +.BR hatchling\-version (1) +.P +.BR hatchling (1) diff --git a/SOURCES/hatchling-dep-synced.1 b/SOURCES/hatchling-dep-synced.1 new file mode 100644 index 0000000..7199db2 --- /dev/null +++ b/SOURCES/hatchling-dep-synced.1 @@ -0,0 +1,22 @@ +.TH HATCHLING\-DEP\-SYNCED "1" "October 2022" "" "User Commands" +.SH NAME +.B hatchling\ dep\ synced +.SH SYNOPSIS +.B hatchling\ dep\ synced +.RB [ \-h ] +.RB [ \-p ] +.I dependencies +.RI [ dependencies \ ...] +.SH OPTIONS +.SS "POSITIONAL\ ARGUMENTS" +.TP +.I dependencies +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.TP +.B \-p\fR,\ \fB\-\-python +.SH "SEE\ ALSO" +.BR hatchling\-dep (1), +.BR hatchling (1) diff --git a/SOURCES/hatchling-dep.1 b/SOURCES/hatchling-dep.1 new file mode 100644 index 0000000..419824f --- /dev/null +++ b/SOURCES/hatchling-dep.1 @@ -0,0 +1,25 @@ +.TH HATCHLING\-DEP "1" "October 2022" "" "User Commands" +.SH NAME +.B hatchling\ dep +.SH SYNOPSIS +.B hatchling\ dep +.RB [ \-h ] +.RB { synced }\ ... +.SH OPTIONS +.SS "COMMANDS" +.TP +.B synced +See +.BR hatchling\-dep\-synced (1). +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.SH "SEE\ ALSO" +.BR hatchling\-dep\-synced (1) +.P +.BR hatchling\-build (1), +.BR hatchling\-metadata (1), +.BR hatchling\-version (1) +.P +.BR hatchling (1) diff --git a/SOURCES/hatchling-metadata.1 b/SOURCES/hatchling-metadata.1 new file mode 100644 index 0000000..bdd98a1 --- /dev/null +++ b/SOURCES/hatchling-metadata.1 @@ -0,0 +1,24 @@ +.TH HATCHLING\-METADATA "1" "October 2022" "" "User Commands" +.SH NAME +.B hatchling\ metadata +.SH SYNOPSIS +.B hatchling\ metadata +.RB [ \-h ] +.RB [ \-c ] +.RI [ field ] +.SH OPTIONS +.SS "POSITIONAL\ ARGUMENTS" +.TP +.I field +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.TP +.B \-c\fR,\ \fB\-\-compact +.SH "SEE\ ALSO" +.BR hatchling\-build (1), +.BR hatchling\-dep (1), +.BR hatchling\-version (1) +.P +.BR hatchling (1) diff --git a/SOURCES/hatchling-version.1 b/SOURCES/hatchling-version.1 new file mode 100644 index 0000000..df0607e --- /dev/null +++ b/SOURCES/hatchling-version.1 @@ -0,0 +1,18 @@ +.TH HATCHLING\-VERSION "1" "October 2022" "" "User Commands" +.SH NAME +.B hatchling\ version +.SH SYNOPSIS +.B hatchling\ version +.RB [ \-h ] +.SH OPTIONS +.\" .SS "POSITIONAL\ ARGUMENTS" +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.SH "SEE\ ALSO" +.BR hatchling\-build (1), +.BR hatchling\-dep (1), +.BR hatchling\-metadata (1) +.P +.BR hatchling (1) diff --git a/SOURCES/hatchling.1 b/SOURCES/hatchling.1 new file mode 100644 index 0000000..91c5d25 --- /dev/null +++ b/SOURCES/hatchling.1 @@ -0,0 +1,39 @@ +.TH HATCHLING "1" "October 2022" "" "User Commands" +.SH NAME +.B hatchling +\(en the build backend used by Hatch +.SH SYNOPSIS +.B hatchling +.RB [ \-h ] +.RB { build , dep , metadata , version }\ ... +.SH DESCRIPTION +This is the extensible, standards compliant build backend used by Hatch. +.SH OPTIONS +.SS "COMMANDS" +.TP +.B build +See +.BR hatchling\-build (1). +.TP +.B dep +See +.BR hatchling\-dep (1). +.TP +.B metadata +See +.BR hatchling\-metadata (1). +.TP +.B version +See +.BR hatchling\-version (1). +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +Show a help message and exit +.SH "SEE\ ALSO" +.BR hatchling\-build (1), +.BR hatchling\-dep (1), +.BR hatchling\-metadata (1), +.BR hatchling\-version (1) +.P +.BR hatch (1) diff --git a/SPECS/python-hatchling.spec b/SPECS/python-hatchling.spec new file mode 100644 index 0000000..a3f21c1 --- /dev/null +++ b/SPECS/python-hatchling.spec @@ -0,0 +1,256 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.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-hatchling +Version: 1.25.0 +Release: %autorelease +Summary: The build backend used by Hatch + +# SPDX +License: MIT +URL: https://pypi.org/project/hatchling +Source0: %{pypi_source hatchling} +# 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 + +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 +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files -l hatchling + +install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \ + '%{SOURCE100}' \ + '%{SOURCE200}' \ + '%{SOURCE300}' '%{SOURCE310}' \ + '%{SOURCE400}' \ + '%{SOURCE500}' + + +%check +# We cannot run the “downstream integration tests” included with the PyPI sdist +# in an offline build. The primary tests are Hatch’s “backend” tests. +%pyproject_check_import + + +%files -n python3-hatchling -f %{pyproject_files} +%doc README.md + +%{_bindir}/hatchling +%{_mandir}/man1/hatchling.1* +%{_mandir}/man1/hatchling-*.1* + + +%changelog +* Wed Dec 25 2024 Arkady L. Shane - 1.25.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Jul 24 2024 Benjamin A. Beasley - 1.25.0-1 +- Update to 1.25.0 (close RHBZ#2269764) + +* Fri Jul 19 2024 Fedora Release Engineering - 1.21.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.21.1-2 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Benjamin A. Beasley - 1.21.1-1 +- Update to 1.21.1 (close RHBZ#2260286) + +* Fri Jan 26 2024 Fedora Release Engineering - 1.21.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Dec 19 2023 Benjamin A. Beasley - 1.21.0-1 +- Update to 1.21.0 (close RHBZ#2254951) + +* Sun Dec 17 2023 Benjamin A. Beasley - 1.20.0-2 +- Assert that %%pyproject_files contains a license file + +* Wed Dec 13 2023 Benjamin A. Beasley - 1.20.0-1 +- Update to 1.20.0 (close RHBZ#2253944) + +* Fri Jul 21 2023 Fedora Release Engineering - 1.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 01 2023 Benjamin A. Beasley - 1.18.0-1 +- Update to 1.18.0 (close RHBZ#2214286) + +* Tue Jun 13 2023 Python Maint - 1.17.1-2 +- Rebuilt for Python 3.12 + +* Mon Jun 05 2023 Benjamin A. Beasley - 1.17.1-1 +- Update to 1.17.1 (close RHBZ#2212081) + +* Fri May 12 2023 Benjamin A. Beasley - 1.17.0-1 +- Update to 1.17.0 (close RHBZ#2203351) + +* Fri May 12 2023 Benjamin A. Beasley - 1.16.1-2 +- Drop lower-bound on pyproject-rpm-macros + +* Thu May 11 2023 Benjamin A. Beasley - 1.16.1-1 +- Update to 1.16.1 (close RHBZ#2203227) + +* Thu May 11 2023 Benjamin A. Beasley - 1.16.0-1 +- Update to 1.16 (close RHBZ#2196940) + +* Wed May 10 2023 Benjamin A. Beasley - 1.15.0-1 +- Update to 1.15.0 (close RHBZ#2196648) + +* Tue Apr 25 2023 Benjamin A. Beasley - 1.14.1-1 +- Update to 1.14.1 (close RHBZ#2188977) + +* Mon Apr 03 2023 Benjamin A. Beasley - 1.14.0-1 +- Update to 1.14.0 (close RHBZ#21838751) + +* Thu Feb 09 2023 Benjamin A. Beasley - 1.13.0-1 +- Update to 1.13.0 (close RHBZ#2168481) + +* Fri Jan 20 2023 Fedora Release Engineering - 1.12.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jan 05 2023 Benjamin A. Beasley - 1.12.2-1 +- Update to 1.12.2 (close RHBZ#2158329) + +* Sat Dec 31 2022 Benjamin A. Beasley - 1.12.1-1 +- Update to 1.12.1 (close RHBZ#2157116) + +* Wed Oct 19 2022 Benjamin A. Beasley - 1.11.1-1 +- Update to 1.11.1 (close RHBZ#2136026) + +* Sun Oct 09 2022 Benjamin A. Beasley - 1.11.0-1 +- Update to 1.11.0 (close RHBZ#2133226) +- Improve the man pages + +* Mon Sep 19 2022 Benjamin A. Beasley - 1.10.0-1 +- Update to 1.10.0 (close RHBZ#2127792) + +* Sat Sep 10 2022 Benjamin A. Beasley - 1.9.0-1 +- Update to 1.9.0 (close RHBZ#2125746) +- Use new “prepare_metadata_…” hooks for BuildRequires + +* Thu Aug 25 2022 Benjamin A. Beasley - 1.8.1-1 +- Update to 1.8.1 (close RHBZ#2121312) + +* Tue Aug 16 2022 Benjamin A. Beasley - 1.8.0-1 +- Update to 1.8.0 (close RHBZ#2117979) + +* Sun Jul 24 2022 Benjamin A. Beasley - 1.6.0-1 +- Update to 1.6.0 (close RHBZ#2110167) + +* Fri Jul 22 2022 Fedora Release Engineering - 1.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jul 11 2022 Benjamin A. Beasley - 1.5.0-1 +- Update to 1.5.0 (close RHBZ#2105880) + +* Thu Jul 07 2022 Benjamin A. Beasley - 1.4.1-1 +- Update to 1.4.1 (close RHBZ#2103496) + +* Mon Jun 13 2022 Python Maint - 1.3.1-2 +- Rebuilt for Python 3.11 + +* Mon May 30 2022 Benjamin A. Beasley - 1.3.1-1 +- Update to 1.3.1 (close RHBZ#1609549) + +* Mon May 23 2022 Benjamin A. Beasley - 1.3.0-1 +- Update to 1.3.0 (close RHBZ#2089077) + +* Sat May 21 2022 Benjamin A. Beasley - 1.2.0-1 +- Update to 1.2.0 (close RHBZ#2088843) + +* Fri May 20 2022 Benjamin A. Beasley - 1.1.0-1 +- Update to 1.1.0 (close RHBZ#2088671) + +* Wed May 18 2022 Benjamin A. Beasley - 1.0.0-1 +- Update to 1.0.0 (close RHBZ#2087533) + +* Mon May 16 2022 Benjamin A. Beasley - 0.25.0-1 +- Update to 0.25.0 (close RHBZ#2086373) + +* Fri May 06 2022 Benjamin A. Beasley - 0.24.0-2 +- Use wheel-building support to generate BR’s + +* Sat Apr 30 2022 Benjamin A. Beasley - 0.24.0-1 +- Update to 0.24.0 (close RHBZ#2079689) + +* Tue Apr 12 2022 Benjamin A. Beasley - 0.22.0-2 +- Adjust for pyproject-rpm-macros >= 1.1.0 + +* 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 +## END: Generated by rpmautospec diff --git a/python-hatchling.spec b/python-hatchling.spec deleted file mode 100644 index 9dde729..0000000 --- a/python-hatchling.spec +++ /dev/null @@ -1,77 +0,0 @@ -Name: python-hatchling -Version: 1.21.1 -Release: %autorelease -Summary: The build backend used by Hatch - -# SPDX -License: MIT -URL: https://pypi.org/project/hatchling -Source0: %{pypi_source hatchling} -# 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 - -BuildRequires: python3-devel -# RHBZ#1985340, RHBZ#2076994 -BuildRequires: pyproject-rpm-macros >= 1.2.0 - -%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} -p2 - - -%generate_buildrequires -%pyproject_buildrequires - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files hatchling - -install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \ - '%{SOURCE100}' \ - '%{SOURCE200}' \ - '%{SOURCE300}' '%{SOURCE310}' \ - '%{SOURCE400}' \ - '%{SOURCE500}' - - -%check -# We cannot run the “downstream integration tests” included with the PyPI sdist -# in an offline build. The primary tests are Hatch’s “backend” tests. -%pyproject_check_import - - -%files -n python3-hatchling -f %{pyproject_files} -%doc README.md - -%{_bindir}/hatchling -%{_mandir}/man1/hatchling.1* -%{_mandir}/man1/hatchling-*.1* - - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index 7d396c6..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (hatchling-1.21.1.tar.gz) = ccafd14bd401c0df8d239efa86d1851e134c5eaf8e99f96d8cacd6b0f157b5702e27abbeb5eed8f03a13f75e53e34961e06afa225075e619b13c0e4629b99bff