From 4a1cf2ae42248f61a7138d1eee27484938666389 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:13:48 +0100 Subject: [PATCH] automatic version update by autodist [release 1.11.0-1mamba;Sun Oct 09 2022] --- README.md | 2 ++ python-hatchling.spec | 57 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 python-hatchling.spec diff --git a/README.md b/README.md index d58fda0..711d670 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-hatchling +Modern, extensible Python build backend. + diff --git a/python-hatchling.spec b/python-hatchling.spec new file mode 100644 index 0000000..0914444 --- /dev/null +++ b/python-hatchling.spec @@ -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 +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 1.11.0-1mamba +- automatic version update by autodist + +* Sat Oct 08 2022 Silvan Calarco 1.10.0-1mamba +- package created using the webbuild interface