%define pkgname %(echo %name | cut -d- -f2-) Name: python-pep517 Version: 0.13.0 Release: 1mamba Summary: Wrappers to build Python packages using PEP 517 hooks Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/pypa/pep517 Source: https://pypi.debian.net/pep517/pep517-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel BuildRequires: python3.7dist(importlib-metadata) BuildRequires: python3.7dist(tomli) BuildRequires: python3.7dist(zipp) ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n pep517-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl %files %{?pyappend} %defattr(-,root,root) %dir %{python_sitelib}/pep517-%{version}.dist-info %{python_sitelib}/pep517-%{version}.dist-info/* %dir %{python_sitelib}/pep517 %{python_sitelib}/pep517/* %doc LICENSE %changelog * Fri Oct 07 2022 Automatic Build System 0.13.0-1mamba - automatic version update by autodist * Sat May 28 2022 Silvan Calarco 0.12.0-2mamba - rebuilt with python 3.10 subpackage * Fri Jan 14 2022 Silvan Calarco 0.12.0-1mamba - package created using the webbuild interface