update to 2023.9 [release 2023.9-1mamba;Tue Nov 07 2023]
This commit is contained in:
parent
f17de3d640
commit
2f38a56ea4
@ -1,13 +1,14 @@
|
||||
%define pkgname python_docs_theme
|
||||
Name: python-docs-theme
|
||||
Version: 2022.1
|
||||
Release: 2mamba
|
||||
Version: 2023.9
|
||||
Release: 1mamba
|
||||
Summary: Theme for the Python documentation
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython311-devel
|
||||
@ -24,27 +25,34 @@ Requires: python >= %python_version
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n python-docs-theme-%{version}
|
||||
%setup -q -n python_docs_theme-%{version}
|
||||
|
||||
%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} \
|
||||
--record=%{name}.filelist
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
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)
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
%doc LICENSE
|
||||
|
||||
%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
|
||||
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user