%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-packaging Version: 23.1 Release: 1mamba Summary: Core utilities for Python packages Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/packaging/ Source: https://pypi.debian.net/packaging/packaging-%{version}.tar.gz License: BSD, Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n packaging-%{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" ## Rename any conflicting file outside of python site packages tree #for f in %{_bindir}/pdm; do # mv %{buildroot}${f}{,-%{?pyappend}} #done %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}/* %doc LICENSE %changelog * Thu Apr 13 2023 Automatic Build System 23.1-1mamba - automatic version update by autodist * Sun Jan 22 2023 Automatic Build System 23.0-1mamba - automatic version update by autodist * Sun Apr 03 2022 Silvan Calarco 21.3-2mamba - rebuilt with python 3.10 * Thu Nov 18 2021 Automatic Build System 21.3-1mamba - automatic version update by autodist * Fri Oct 29 2021 Automatic Build System 21.2-1mamba - automatic version update by autodist * Sat Jul 03 2021 Automatic Build System 21.0-1mamba - automatic version update by autodist * Wed Mar 31 2021 Silvan Calarco 20.9-2mamba - rebuilt with distdeps * Sun Feb 21 2021 Automatic Build System 20.9-1mamba - automatic version update by autodist * Thu Dec 24 2020 Automatic Build System 20.8-1mamba - automatic version update by autodist * Wed May 20 2020 Automatic Build System 20.4-1mamba - automatic version update by autodist * Sun Mar 08 2020 Automatic Build System 20.3-1mamba - automatic version update by autodist * Fri Mar 06 2020 Automatic Build System 20.2-1mamba - automatic version update by autodist * Fri Feb 14 2020 Automatic Build System 20.1-1mamba - automatic version update by autodist * Tue Jan 14 2020 Automatic Build System 20.0-1mamba - automatic version update by autodist * Sat Oct 05 2019 Automatic Build System 19.2-1mamba - automatic version update by autodist * Sat Aug 10 2019 Automatic Build System 19.1-1mamba - automatic version update by autodist * Thu May 16 2019 Silvan Calarco 19.0-2mamba - rebuilt with py36 support * Tue Jan 29 2019 Automatic Build System 19.0-1mamba - automatic version update by autodist * Fri Oct 05 2018 Automatic Build System 18.0-1mamba - automatic version update by autodist * Wed May 09 2018 Automatic Build System 17.1-1mamba - automatic version update by autodist * Thu Apr 13 2017 Silvan Calarco 16.8-1mamba - package created using the webbuild interface