You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-hatchling/SPECS/python-hatchling.spec

276 lines
9.2 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 9;
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.24.2
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 Hatchs “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
## START: Generated by rpmautospec
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.24.2-9
- Bump release for October 2024 mass rebuild:
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.24.2-8
- Rebuilt for MSVSphere 10
* Wed Sep 18 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-8
- CI: Don't skip any tests - they should work with Python 3.12
* Wed Sep 18 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-7
- CI: Install uv and editables from PyPI: hatchling 1.24 requires them for
testing
* Wed Sep 18 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-6
- CI: Clone pyproject-rpm-macros tests from Centos Stream repo
* Wed Sep 18 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-5
- CI: Run pyproject-rpm-macros mocktests
* Wed Jul 31 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-4
- CI: Run upstream unit tests for hatchling
* Wed Jul 24 2024 Karolina Surma <ksurma@redhat.com> - 1.24.2-3
- Add gating.yaml
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.24.2-2
- Bump release for June 2024 mass rebuild
* Tue Jun 11 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.24.2-1
- Update to 1.24.2
* Fri Jan 26 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.21.1-1
- Update to 1.21.1 (close RHBZ#2260286)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Dec 19 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.21.0-1
- Update to 1.21.0 (close RHBZ#2254951)
* Sun Dec 17 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.20.0-2
- Assert that %%pyproject_files contains a license file
* Wed Dec 13 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.20.0-1
- Update to 1.20.0 (close RHBZ#2253944)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jul 01 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.18.0-1
- Update to 1.18.0 (close RHBZ#2214286)
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.17.1-2
- Rebuilt for Python 3.12
* Mon Jun 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.17.1-1
- Update to 1.17.1 (close RHBZ#2212081)
* Fri May 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.17.0-1
- Update to 1.17.0 (close RHBZ#2203351)
* Fri May 12 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.16.1-2
- Drop lower-bound on pyproject-rpm-macros
* Thu May 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.16.1-1
- Update to 1.16.1 (close RHBZ#2203227)
* Thu May 11 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.16.0-1
- Update to 1.16 (close RHBZ#2196940)
* Wed May 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.15.0-1
- Update to 1.15.0 (close RHBZ#2196648)
* Tue Apr 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.1-1
- Update to 1.14.1 (close RHBZ#2188977)
* Mon Apr 03 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.0-1
- Update to 1.14.0 (close RHBZ#21838751)
* Thu Feb 09 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.13.0-1
- Update to 1.13.0 (close RHBZ#2168481)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 05 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.2-1
- Update to 1.12.2 (close RHBZ#2158329)
* Sat Dec 31 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.1-1
- Update to 1.12.1 (close RHBZ#2157116)
* Wed Oct 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.11.1-1
- Update to 1.11.1 (close RHBZ#2136026)
* Sun Oct 09 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.11.0-1
- Update to 1.11.0 (close RHBZ#2133226)
- Improve the man pages
* Mon Sep 19 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.10.0-1
- Update to 1.10.0 (close RHBZ#2127792)
* Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 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 <code@musicinmybrain.net> - 1.8.1-1
- Update to 1.8.1 (close RHBZ#2121312)
* Tue Aug 16 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.8.0-1
- Update to 1.8.0 (close RHBZ#2117979)
* Sun Jul 24 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.6.0-1
- Update to 1.6.0 (close RHBZ#2110167)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 11 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.5.0-1
- Update to 1.5.0 (close RHBZ#2105880)
* Thu Jul 07 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.4.1-1
- Update to 1.4.1 (close RHBZ#2103496)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.1-2
- Rebuilt for Python 3.11
* Mon May 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.3.1-1
- Update to 1.3.1 (close RHBZ#1609549)
* Mon May 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.3.0-1
- Update to 1.3.0 (close RHBZ#2089077)
* Sat May 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.0-1
- Update to 1.2.0 (close RHBZ#2088843)
* Fri May 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.1.0-1
- Update to 1.1.0 (close RHBZ#2088671)
* Wed May 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 1.0.0-1
- Update to 1.0.0 (close RHBZ#2087533)
* Mon May 16 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.25.0-1
- Update to 0.25.0 (close RHBZ#2086373)
* Fri May 06 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.24.0-2
- Use wheel-building support to generate BRs
* Sat Apr 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.24.0-1
- Update to 0.24.0 (close RHBZ#2079689)
* Tue Apr 12 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.22.0-2
- Adjust for pyproject-rpm-macros >= 1.1.0
* Sun Mar 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.22.0-1
- Update to 0.22.0 (close RHBZ#2068853)
* Tue Mar 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.21.1-1
- Update to 0.21.1 (close RHBZ#2066578)
* Fri Mar 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.21.0-1
- Update to 0.21.0 (close RHBZ#2065524)
* Mon Mar 07 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.20.1-1
- Update to 0.20.1 (close RHBZ#2061214)
* Mon Feb 28 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.18.0-1
- Update to 0.18.0 (close RHBZ#2059065)
* Sun Feb 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.17.0-1
- Update to 0.17.0 (close RHBZ#2058939)
* Sat Feb 26 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.16.0-1
- Update to 0.16.0 (close RHBZ#2058884)
* Wed Feb 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.15.0-1
- Update to 0.15.0 (close RHBZ#2057315)
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.14.0-1
- Update to 0.14.0 (close RHBZ#2050889)
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.11.3-3
- Simplify man page installation
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.11.3-2
- Clarify man page hand-written status
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.11.3-1
- Initial package
## END: Generated by rpmautospec