%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-toposort Version: 1.10 Release: 3mamba Summary: Implements a topological sort algorithm Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.org/project/toposort/ Source: https://pypi.debian.net/toposort/toposort-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n toposort-%{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}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %{python_sitelib}/%{pkgname}.py %{python_sitelib}/__pycache__/toposort.cpython-*.pyc %doc LICENSE.txt %changelog * Wed Sep 27 2023 Automatic Build System 1.10-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Tue Aug 01 2023 Silvan Calarco 1.10-2mamba - rebuilt with python 3.10 * Mon Feb 27 2023 Automatic Build System 1.10-1mamba - automatic version update by autodist * Wed Jan 11 2023 Automatic Build System 1.9-1mamba - automatic version update by autodist * Tue Jan 10 2023 Automatic Build System 1.8-1mamba - automatic version update by autodist * Fri Oct 07 2022 Automatic Build System 1.7-1mamba - automatic version update by autodist * Mon Feb 14 2022 Silvan Calarco 1.6-2mamba - rebuilt with distdeps * Fri Dec 18 2020 Automatic Build System 1.6-1mamba - automatic version update by autodist * Sun Sep 27 2020 Silvan Calarco 1.5-1mamba - package created using the webbuild interface