automatic version update by autodist [release 3.9.1-1mamba;Sun Jul 21 2024]

This commit is contained in:
Automatic Build System 2024-07-22 10:40:51 +02:00
parent af20b72dd7
commit f33b4e9be2

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-matplotlib
Version: 3.8.4
Version: 3.9.1
Release: 1mamba
Summary: Python plotting library
Group: System/Libraries/Python
@ -51,33 +52,35 @@ sed -i "s|gtkagg = True|gtkagg = False|" setup.cfg
%endif
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch}
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
chmod +x %{buildroot}%{python_sitearch}/matplotlib/dates.py
rm -rf %{buildroot}%{python_sitearch}/matplotlib/mpl-data/fonts
#%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)
%{python_sitearch}/*.py*
%dir %{python_sitearch}/matplotlib
%{python_sitearch}/matplotlib/*
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%{python3_sitearch}/pylab.py
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%dir %{python_sitearch}/mpl_toolkits
%{python_sitearch}/mpl_toolkits/*
%{python_sitearch}/matplotlib-%{version}-py*
%if 0%{?with_pyver}
%{python_sitearch}/__pycache__/pylab.cpython*.py*
%endif
%{python3_sitearch}/__pycache__/pylab.cpython-311*.pyc
%doc LICENSE/LICENSE
%changelog
* Sun Jul 21 2024 Automatic Build System <autodist@openmamba.org> 3.9.1-1mamba
- automatic version update by autodist
* Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 3.8.4-1mamba
- automatic version update by autodist