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

qboosh qboosh at pld-linux.org
Tue Apr 29 21:34:29 CEST 2025


commit ae382f1a2820dbad0bbe4f5893c2cb6d151b33a7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 29 21:27:31 2025 +0200

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

 python-zope.schema.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-zope.schema.spec b/python-zope.schema.spec
index 0d445a5..51bce47 100644
--- a/python-zope.schema.spec
+++ b/python-zope.schema.spec
@@ -3,7 +3,7 @@
 %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.schema.spec)
 
 %define module	zope.schema
 Summary:	zope.interface extension for defining data schemas
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	Rozszerzenie zope.interface do definiowania schematów danych
 Name:		python-%{module}
 # keep 6.x here for python2 support
 Version:	6.2.1
-Release:	3
+Release:	4
 License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
@@ -44,8 +44,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
@@ -105,7 +105,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.schema.git/commitdiff/ae382f1a2820dbad0bbe4f5893c2cb6d151b33a7



More information about the pld-cvs-commit mailing list