[packages/python-zope.hookable] - disable python3 here, switched docs to python2, release 4

qboosh qboosh at pld-linux.org
Mon Apr 28 21:54:40 CEST 2025


commit a2e684c4b9639ddef587f6f8ed6bb9ce45562826
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 28 21:49:12 2025 +0200

    - disable python3 here, switched docs to python2, release 4

 python-zope.hookable.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-zope.hookable.spec b/python-zope.hookable.spec
index a5be570..fa9c461 100644
--- a/python-zope.hookable.spec
+++ b/python-zope.hookable.spec
@@ -3,14 +3,15 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests (installed package required)
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-zope.hookable.spec)
 
 %define module	zope.hookable
 Summary:	Zope hookable module
 Summary(pl.UTF-8):	Moduł Zope hookable
 Name:		python-%{module}
+# keep 5.x here for python2 support
 Version:	5.4
-Release:	3
+Release:	4
 License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.hookable/zope.hookable-%{version}.tar.gz
@@ -37,7 +38,7 @@ BuildRequires:	python3-zope.testrunner
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	sphinx-pdg
+BuildRequires:	sphinx-pdg-2
 %endif
 Requires:	python-modules >= 1:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -89,7 +90,8 @@ Dokumentacja API modułu Pythona zope.hookable.
 
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
-%{__make} -C docs html
+%{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.hookable.git/commitdiff/a2e684c4b9639ddef587f6f8ed6bb9ce45562826



More information about the pld-cvs-commit mailing list