package created using the webbuild interface [release 1.1.0-1mamba;Sat Sep 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 10:59:28 +01:00
parent 3e880b0a70
commit f51e334a9a
2 changed files with 60 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-contourpy # python-contourpy
Python library for calculating contours of 2D quadrilateral grids.

58
python-contourpy.spec Normal file
View File

@ -0,0 +1,58 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-contourpy
Version: 1.1.0
Release: 1mamba
Summary: Python library for calculating contours of 2D quadrilateral grids
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libpython310-devel
BuildRequires: libstdc++6-devel
BuildRequires: python3.10dist(numpy)
## AUTOBUILDREQ-END
BuildRequires: python-meson-py310
BuildRequires: python-ninja-py310
BuildRequires: python-pybind11-py310
%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
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- package created using the webbuild interface