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

qboosh qboosh at pld-linux.org
Tue Apr 29 17:59:30 CEST 2025


commit 0b28c1aafd883e47867058842e3fa2568e8d99fb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 29 17:33:00 2025 +0200

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

 python-zope.interface.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python-zope.interface.spec b/python-zope.interface.spec
index f79f4a1..1c61268 100644
--- a/python-zope.interface.spec
+++ b/python-zope.interface.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without	doc	# Sphinx documentation
 %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.interface.spec)
 %bcond_without	tests	# unit tests
 
 %define		module	zope.interface
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	Implementacja interfejsów dla języka Python
 Name:		python-%{module}
 # keep 5.x here for python2 support
 Version:	5.5.2
-Release:	3
+Release:	4
 License:	ZPL v2.1
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/zope.interface/
@@ -41,8 +41,8 @@ BuildRequires:	python3-zope.testing
 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
 Requires:	python-zope-base
@@ -100,11 +100,12 @@ Dokumentacja API modułu Pythona zope.interface.
 %if %{with doc}
 PYTHONPATH=$(pwd)/src \
 %{__make} -C docs html \
-	SPHINXBUILD=sphinx-build-3
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %if %{with python2}
 %py_install
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.interface.git/commitdiff/0b28c1aafd883e47867058842e3fa2568e8d99fb



More information about the pld-cvs-commit mailing list