%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-soupsieve Version: 2.4.1 Release: 1mamba Summary: A CSS selector library designed to be used with Beautiful Soup 4 Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/facelessuser/soupsieve Source: https://pypi.debian.net/soupsieve/soupsieve-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel ## AUTOBUILDREQ-END %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n soupsieve-%{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 #%endif %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 * Mon Apr 17 2023 Automatic Build System 2.4.1-1mamba - automatic version update by autodist * Mon Mar 06 2023 Automatic Build System 2.4-1mamba - automatic version update by autodist * Wed May 04 2022 Silvan Calarco 2.3.1-3mamba - added python 3.10 subpackage * Fri Apr 29 2022 Silvan Calarco 2.3.1-2mamba - rebuilt with distdeps * Thu Nov 11 2021 Automatic Build System 2.3.1-1mamba - automatic version update by autodist * Thu Nov 04 2021 Automatic Build System 2.3-1mamba - automatic version update by autodist * Sat Mar 20 2021 Automatic Build System 2.2.1-1mamba - automatic version update by autodist * Mon Feb 22 2021 Automatic Build System 2.2-1mamba - automatic version update by autodist * Sun Sep 06 2020 Automatic Build System 2.0.1-1mamba - automatic version update by autodist * Wed Jun 24 2020 Automatic Build System 1.9.6-1mamba - automatic version update by autodist * Mon Nov 04 2019 Automatic Build System 1.9.5-1mamba - automatic version update by autodist * Fri Sep 27 2019 Automatic Build System 1.9.4-1mamba - automatic version update by autodist * Wed Aug 28 2019 Silvan Calarco 1.9.3-1mamba - package created using the webbuild interface