[packages/python3-zope.location] - requires package already installed to get complete docs

qboosh qboosh at pld-linux.org
Fri May 30 21:59:08 CEST 2025


commit 8238ca28d4bc8229e50e6fa046baad5379d02927
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 30 21:55:10 2025 +0200

    - requires package already installed to get complete docs

 python3-zope.location.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python3-zope.location.spec b/python3-zope.location.spec
index 0ecbee1..105bac0 100644
--- a/python3-zope.location.spec
+++ b/python3-zope.location.spec
@@ -11,6 +11,7 @@ Version:	5.1
 Release:	1
 License:	ZPL v2.1
 Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/zope-location/
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.location/zope_location-%{version}.tar.gz
 # Source0-md5:	9f25225ed1cd679f5521fc83140b9537
 URL:		https://www.zope.dev/
@@ -30,6 +31,8 @@ BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
 BuildRequires:	python3-repoze.sphinx.autointerface
+# already installed package due to package namespace issues (required for "_modules" docs subdir)
+BuildRequires:	python3-zope.location
 BuildRequires:	sphinx-pdg-3
 %endif
 Requires:	python3-modules >= 1:3.9
@@ -92,5 +95,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with doc}
 %files apidocs
 %defattr(644,root,root,755)
-%doc docs/_build/html/{_static,*.html,*.js}
+%doc docs/_build/html/{_modules,_static,*.html,*.js}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-zope.location.git/commitdiff/8238ca28d4bc8229e50e6fa046baad5379d02927



More information about the pld-cvs-commit mailing list