%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-contourpy Version: 1.3.1 Release: 1mamba Summary: Python library for calculating contours of 2D quadrilateral grids Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/contourpy/contourpy Source: http://pypi.debian.net/contourpy/contourpy-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libpython311-devel BuildRequires: libstdc++6-devel BuildRequires: python3.11dist(numpy) ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.11.5 BuildRequires: python-meson-py3 #BuildRequires: python-ninja-py3 BuildRequires: python-pybind11-py3 %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n contourpy-%{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_sitearch}/%{pkgname}-%{version}.dist-info %{python_sitearch}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitearch}/%{pkgname} %{python_sitearch}/%{pkgname}/* %doc LICENSE %changelog * Wed Nov 13 2024 Automatic Build System 1.3.1-1mamba - automatic version update by autodist * Wed Aug 28 2024 Automatic Build System 1.3.0-1mamba - automatic version update by autodist * Sun Apr 07 2024 Automatic Build System 1.2.1-1mamba - automatic version update by autodist * Sat Nov 04 2023 Automatic Build System 1.2.0-1mamba - automatic version update by autodist * Fri Oct 06 2023 Automatic Build System 1.1.1-2mamba - rebuilt with python3 = 3.11.5 * Sat Sep 16 2023 Automatic Build System 1.1.1-1mamba - automatic version update by autodist * Sat Sep 09 2023 Silvan Calarco 1.1.0-1mamba - package created using the webbuild interface