[packages/python3-click] - updated dependencies, adjusted doc to work without package already installed

qboosh qboosh at pld-linux.org
Wed May 28 20:45:45 CEST 2025


commit 9846cc996f575c73a25646962d47d1d7aa15e49f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 28 20:35:06 2025 +0200

    - updated dependencies, adjusted doc to work without package already installed

 python3-click.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python3-click.spec b/python3-click.spec
index aab8377..c3a1db4 100644
--- a/python3-click.spec
+++ b/python3-click.spec
@@ -18,9 +18,10 @@ URL:		https://click.palletsprojects.com/
 %if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
 BuildRequires:	glibc-localedb-all
 %endif
-BuildRequires:	python3-modules >= 1:3.7
 BuildRequires:	python3-build
+BuildRequires:	python3-flit_core < 4
 BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.7
 %if %{with tests}
 %if "%{py3_ver}" == "3.7"
 BuildRequires:	python3-importlib_metadata
@@ -31,7 +32,6 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
 BuildRequires:	sphinx-pdg-3 >= 2.4.4
-BuildRequires:	python3-click
 BuildRequires:	python3-pallets-sphinx-themes >= 1.2.3
 BuildRequires:	python3-sphinxcontrib-log-cabinet >= 1.0.1
 BuildRequires:	python3-sphinx_issues >= 1.2.0
@@ -78,7 +78,8 @@ PYTHONPATH=$(pwd)/src \
 %endif
 
 %if %{with doc}
-PYTHONPATH=$(pwd)/src \
+%{__python3} -m zipfile -e build-3/*.whl build-3-doc
+PYTHONPATH=$(pwd)/build-3-doc \
 %{__make} -C docs html \
 	SPHINXBUILD=sphinx-build-3
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-click.git/commitdiff/9846cc996f575c73a25646962d47d1d7aa15e49f



More information about the pld-cvs-commit mailing list