update to 2023.9 [release 2023.9-1mamba;Tue Nov 07 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 11:05:34 +01:00
parent f17de3d640
commit 2f38a56ea4

View File

@ -1,13 +1,14 @@
%define pkgname python_docs_theme
Name: python-docs-theme Name: python-docs-theme
Version: 2022.1 Version: 2023.9
Release: 2mamba Release: 1mamba
Summary: Theme for the Python documentation Summary: Theme for the Python documentation
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/python/python-docs-theme URL: https://github.com/python/python-docs-theme
Source: https://pypi.debian.net/python-docs-theme/python-docs-theme-%{version}.tar.gz Source: https://pypi.debian.net/python-docs-theme/python_docs_theme-%{version}.tar.gz
License: Python Software Foundation License License: Python Software Foundation License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
@ -24,27 +25,34 @@ Requires: python >= %python_version
%endif %endif
%prep %prep
%setup -q -n python-docs-theme-%{version} %setup -q -n python_docs_theme-%{version}
%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} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist #%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} -f %{name}.filelist %files %{?pyappend}
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Tue Nov 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2023.9-1mamba
- update to 2023.9
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2022.1-2mamba * Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2022.1-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba