automatic version update by autodist [release 1.11.0-1mamba;Sun Oct 09 2022]

This commit is contained in:
Automatic Build System 2024-01-06 11:13:48 +01:00
parent d7e0b1df57
commit 4a1cf2ae42
2 changed files with 59 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-hatchling # python-hatchling
Modern, extensible Python build backend.

57
python-hatchling.spec Normal file
View File

@ -0,0 +1,57 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-hatchling
Version: 1.11.0
Release: 1mamba
Summary: Modern, extensible Python build backend
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://hatch.pypa.io/latest/
Source: https://pypi.debian.net/hatchling/hatchling-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(editables)
BuildRequires: python3.7dist(importlib-metadata)
BuildRequires: python3.7dist(packaging)
BuildRequires: python3.7dist(pathspec)
BuildRequires: python3.7dist(pluggy)
BuildRequires: python3.7dist(tomli)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n hatchling-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
%if "%{?with_pyver}" != "3"
mv %{buildroot}%{_bindir}/hatchling{,-%{pyappend}}
%endif
%files %{?pyappend}
%defattr(-,root,root)
%{_bindir}/hatchling*
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%changelog
* Sun Oct 09 2022 Automatic Build System <autodist@mambasoft.it> 1.11.0-1mamba
- automatic version update by autodist
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-1mamba
- package created using the webbuild interface