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 Name: python-matplotlib
Version: 3.8.4 Version: 3.9.1
Release: 1mamba Release: 1mamba
Summary: Python plotting library Summary: Python plotting library
Group: System/Libraries/Python Group: System/Libraries/Python
@ -51,33 +52,35 @@ sed -i "s|gtkagg = True|gtkagg = False|" setup.cfg
%endif %endif
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch}
chmod +x %{buildroot}%{python_sitearch}/matplotlib/dates.py #%if "%{?with_pyver}" != "3"
rm -rf %{buildroot}%{python_sitearch}/matplotlib/mpl-data/fonts ## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend} %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/*.py* %dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%dir %{python_sitearch}/matplotlib %{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%{python_sitearch}/matplotlib/* %{python3_sitearch}/pylab.py
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%dir %{python_sitearch}/mpl_toolkits %dir %{python_sitearch}/mpl_toolkits
%{python_sitearch}/mpl_toolkits/* %{python_sitearch}/mpl_toolkits/*
%{python_sitearch}/matplotlib-%{version}-py* %{python3_sitearch}/__pycache__/pylab.cpython-311*.pyc
%if 0%{?with_pyver}
%{python_sitearch}/__pycache__/pylab.cpython*.py*
%endif
%doc LICENSE/LICENSE %doc LICENSE/LICENSE
%changelog %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 * Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 3.8.4-1mamba
- automatic version update by autodist - automatic version update by autodist