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

qboosh qboosh at pld-linux.org
Mon May 5 07:46:54 CEST 2025


commit 345c9cc9b49677f47ebfcac2f64b9527d5b36aa1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 5 06:24:52 2025 +0200

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

 python-zope.location.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-zope.location.spec b/python-zope.location.spec
index 22a5f1c..c7b309e 100644
--- a/python-zope.location.spec
+++ b/python-zope.location.spec
@@ -3,7 +3,7 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_with	tests	# unit tests (circular dependencies)
 %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.location.spec)
 
 %define module	zope.location
 Summary:	Zope location module
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	Moduł Zope location
 Name:		python-%{module}
 # keep 4.x here for python2 support
 Version:	4.3
-Release:	3
+Release:	4
 License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.location/zope.location-%{version}.tar.gz
@@ -48,8 +48,8 @@ BuildRequires:	python3-zope.testrunner
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
-BuildRequires:	python3-repoze.sphinx.autointerface
-BuildRequires:	sphinx-pdg-3
+BuildRequires:	python-repoze.sphinx.autointerface
+BuildRequires:	sphinx-pdg-2
 %endif
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
@@ -113,7 +113,7 @@ zope-testrunner-3 --test-path=src -v
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
 %{__make} -C docs html \
-	SPHINXBUILD=sphinx-build-3
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.location.git/commitdiff/345c9cc9b49677f47ebfcac2f64b9527d5b36aa1



More information about the pld-cvs-commit mailing list