|
rdobuilder |
b0539e |
## START: Set by rpmautospec
|
|
rdobuilder |
b0539e |
## (rpmautospec version 0.2.6)
|
|
rdobuilder |
b0539e |
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
rdobuilder |
b0539e |
release_number = 1;
|
|
rdobuilder |
b0539e |
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
rdobuilder |
b0539e |
print(release_number + base_release_number - 1);
|
|
rdobuilder |
b0539e |
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
rdobuilder |
b0539e |
## END: Set by rpmautospec
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
Name: python-hatchling
|
|
rdobuilder |
b0539e |
Version: 1.3.1
|
|
rdobuilder |
b0539e |
Release: %autorelease
|
|
rdobuilder |
b0539e |
Summary: The build backend used by Hatch
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
License: MIT
|
|
rdobuilder |
b0539e |
URL: https://pypi.org/project/hatchling
|
|
rdobuilder |
b0539e |
Source0: %{pypi_source hatchling}
|
|
rdobuilder |
b0539e |
# Man page in groff_man(7) format, hand-written for Fedora based on package
|
|
rdobuilder |
b0539e |
# metadata and --help output
|
|
rdobuilder |
b0539e |
Source1: hatchling.1
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
BuildArch: noarch
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
BuildRequires: python3-devel
|
|
rdobuilder |
b0539e |
# RHBZ#1985340, RHBZ#2076994
|
|
rdobuilder |
b0539e |
BuildRequires: pyproject-rpm-macros >= 1.2.0
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%global common_description %{expand:
|
|
rdobuilder |
b0539e |
This is the extensible, standards compliant build backend used by Hatch.}
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%description %{common_description}
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%package -n python3-hatchling
|
|
rdobuilder |
b0539e |
Summary: %{summary}
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%description -n python3-hatchling %{common_description}
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%prep
|
|
rdobuilder |
b0539e |
%autosetup -n hatchling-%{version}
|
|
rdobuilder |
b0539e |
sed -i 's/tomli>=1.2.2/tomli>=1.2.1/g' src/hatchling/ouroboros.py
|
|
rdobuilder |
b0539e |
sed -i 's/pluggy>=1.0.0/pluggy/g' src/hatchling/ouroboros.py
|
|
rdobuilder |
b0539e |
sed -i 's/packaging>=21.3/packaging>=20.9/g' src/hatchling/ouroboros.py
|
|
rdobuilder |
b0539e |
sed -i 's/pathspec>=0.9/pathspec>=0.8/g' src/hatchling/ouroboros.py
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%generate_buildrequires
|
|
rdobuilder |
b0539e |
%pyproject_buildrequires -w
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%build
|
|
rdobuilder |
b0539e |
%pyproject_wheel
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%install
|
|
rdobuilder |
b0539e |
%pyproject_install
|
|
rdobuilder |
b0539e |
%pyproject_save_files hatchling
|
|
rdobuilder |
b0539e |
install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%check
|
|
rdobuilder |
b0539e |
# It’s not yet clear how, or if, we can run the upstream tests.
|
|
rdobuilder |
b0539e |
# https://github.com/pypa/hatch/issues/120
|
|
rdobuilder |
b0539e |
%pyproject_check_import
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%files -n python3-hatchling -f %{pyproject_files}
|
|
rdobuilder |
b0539e |
%license LICENSE.txt
|
|
rdobuilder |
b0539e |
%doc README.md
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%{_bindir}/hatchling
|
|
rdobuilder |
b0539e |
%{_mandir}/man1/hatchling.1*
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
%changelog
|
|
rdobuilder |
b0539e |
* Mon May 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.3.1-1
|
|
rdobuilder |
b0539e |
- Update to 1.3.1 (close RHBZ#1609549)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Mon May 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.3.0-1
|
|
rdobuilder |
b0539e |
- Update to 1.3.0 (close RHBZ#2089077)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sat May 21 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.2.0-1
|
|
rdobuilder |
b0539e |
- Update to 1.2.0 (close RHBZ#2088843)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Fri May 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.1.0-1
|
|
rdobuilder |
b0539e |
- Update to 1.1.0 (close RHBZ#2088671)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Wed May 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> 1.0.0-1
|
|
rdobuilder |
b0539e |
- Update to 1.0.0 (close RHBZ#2087533)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Mon May 16 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.25.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.25.0 (close RHBZ#2086373)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Fri May 06 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.24.0-2
|
|
rdobuilder |
b0539e |
- Use wheel-building support to generate BR’s
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sat Apr 30 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.24.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.24.0 (close RHBZ#2079689)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Tue Apr 12 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.22.0-2
|
|
rdobuilder |
b0539e |
- Adjust for pyproject-rpm-macros >= 1.1.0
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Mar 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.22.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.22.0 (close RHBZ#2068853)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Tue Mar 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.21.1-1
|
|
rdobuilder |
b0539e |
- Update to 0.21.1 (close RHBZ#2066578)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Fri Mar 18 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.21.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.21.0 (close RHBZ#2065524)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Mon Mar 07 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.20.1-1
|
|
rdobuilder |
b0539e |
- Update to 0.20.1 (close RHBZ#2061214)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Mon Feb 28 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.18.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.18.0 (close RHBZ#2059065)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Feb 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.17.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.17.0 (close RHBZ#2058939)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sat Feb 26 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.16.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.16.0 (close RHBZ#2058884)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Wed Feb 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.15.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.15.0 (close RHBZ#2057315)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.14.0-1
|
|
rdobuilder |
b0539e |
- Update to 0.14.0 (close RHBZ#2050889)
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.11.3-3
|
|
rdobuilder |
b0539e |
- Simplify man page installation
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.11.3-2
|
|
rdobuilder |
b0539e |
- Clarify man page hand-written status
|
|
rdobuilder |
b0539e |
|
|
rdobuilder |
b0539e |
* Sun Feb 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> 0.11.3-1
|
|
rdobuilder |
b0539e |
- Initial package
|