[packages/python3-propcache] Rel 2; more BR and fix docs build

arekm arekm at pld-linux.org
Mon Feb 17 16:42:03 CET 2025


commit 8443332a81934b48b42a840ae764bd47a5e3ef5d
Author: Arkadiusz Miƛkiewicz <arekm at maven.pl>
Date:   Mon Feb 17 16:07:35 2025 +0100

    Rel 2; more BR and fix docs build

 python3-propcache.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python3-propcache.spec b/python3-propcache.spec
index acab965..76a9d15 100644
--- a/python3-propcache.spec
+++ b/python3-propcache.spec
@@ -6,7 +6,7 @@
 Summary:	Accelerated property cache
 Name:		python3-%{module}
 Version:	0.2.1
-Release:	1
+Release:	2
 License:	Apache
 Group:		Libraries/Python
 Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
@@ -14,9 +14,12 @@ Source0:	https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz
 URL:		https://pypi.org/project/propcache/
 BuildRequires:	python3-Cython
 BuildRequires:	python3-build
+BuildRequires:	python3-expandvars
 BuildRequires:	python3-installer
 BuildRequires:	python3-modules >= 1:3.9
 %if %{with tests}
+BuildRequires:	python3-mdit-py-plugins
+BuildRequires:	python3-pytest_codspeed
 BuildRequires:	python3-pytest-xdist
 %endif
 BuildRequires:	rpm-pythonprov
@@ -57,6 +60,8 @@ PYTEST_PLUGINS=pytest_codspeed,xdist,benchmark \
 %endif
 
 %if %{with doc}
+%{__python} -m zipfile -e build-3/*.whl build-3-doc
+export PYTHONPATH="$PWD/build-3-doc"
 %{__make} -C docs html \
 	SPHINXBUILD=sphinx-build-3
 rm -rf docs/_build/html/_sources
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-propcache.git/commitdiff/8443332a81934b48b42a840ae764bd47a5e3ef5d



More information about the pld-cvs-commit mailing list