package created using the webbuild interface [release 3.7.1-1mamba;Wed Sep 28 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 11:09:54 +01:00
parent 837cb84f3c
commit 5063e5285d
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-flit_core # python-flit_core
Distribution-building parts of Flit.

47
python-flit_core.spec Normal file
View File

@ -0,0 +1,47 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-flit_core
Version: 3.7.1
Release: 1mamba
Summary: Distribution-building parts of Flit
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pypa/flit
Source: https://pypi.debian.net/flit_core/flit_core-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: python-build-py3
BuildRequires: python-build-py310
BuildRequires: python-installer-py3
BuildRequires: python-installer-py310
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n flit_core-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --wheel --skip-dependency-check --no-isolation
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir="%{buildroot}" dist/*.whl
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%changelog
* Wed Sep 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.1-1mamba
- package created using the webbuild interface