From b0539e70c2bf5e76fd468287dd1ee44203640cd6 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jun 21 2022 13:38:50 +0000 Subject: Update to 1.3.1 - Update - downgrade demanded versions of some requirements,due to low importance of this dep Related-to: https://review.rdoproject.org/r/q/Id4e248e4a890fc4038e2498b40b6725b3a6b9477 --- diff --git a/.python-hatchling.metadata b/.python-hatchling.metadata new file mode 100644 index 0000000..d43858f --- /dev/null +++ b/.python-hatchling.metadata @@ -0,0 +1 @@ +63ae7f29657e4d069c716e098a9ac8114d2f29f9 SOURCES/hatchling-1.3.1.tar.gz diff --git a/SOURCES/hatchling.1 b/SOURCES/hatchling.1 new file mode 100644 index 0000000..64f24ef --- /dev/null +++ b/SOURCES/hatchling.1 @@ -0,0 +1,24 @@ +.TH HATCHLING "1" "February 2022" "" "User Commands" +.SH NAME +.B hatchling +\(en the build backend used by Hatch +.SH SYNOPSIS +.B hatchling +.RB [ \-h ] +.RB { build , dep , version }\ ... +.SH DESCRIPTION +This is the extensible, standards compliant build backend used by Hatch. +.SH OPTIONS +.SS "POSITIONAL\ ARGUMENTS" +.TP +.B build +.TP +.B dep +.TP +.B version +.SS "OPTIONAL\ ARGUMENTS" +.TP +.B \-h\fR,\ \fB\-\-help +show a help message and exit +.SH "SEE\ ALSO" +.BR hatch (1) diff --git a/SPECS/python-hatchling.spec b/SPECS/python-hatchling.spec new file mode 100644 index 0000000..a774373 --- /dev/null +++ b/SPECS/python-hatchling.spec @@ -0,0 +1,137 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.6) +%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: 1.3.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 +# 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} +sed -i 's/tomli>=1.2.2/tomli>=1.2.1/g' src/hatchling/ouroboros.py +sed -i 's/pluggy>=1.0.0/pluggy/g' src/hatchling/ouroboros.py +sed -i 's/packaging>=21.3/packaging>=20.9/g' src/hatchling/ouroboros.py +sed -i 's/pathspec>=0.9/pathspec>=0.8/g' src/hatchling/ouroboros.py + +%generate_buildrequires +%pyproject_buildrequires -w + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files hatchling +install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}' + + +%check +# It’s not yet clear how, or if, we can run the upstream tests. +# 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* + + +%changelog +* 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