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

qboosh qboosh at pld-linux.org
Mon May 5 22:27:37 CEST 2025


commit 7f75ac41e79991487a3b0a6a95f476574221d3b4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 5 22:25:41 2025 +0200

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

 python-transaction.spec | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/python-transaction.spec b/python-transaction.spec
index a872889..616d6f8 100644
--- a/python-transaction.spec
+++ b/python-transaction.spec
@@ -3,15 +3,16 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-transaction.spec)
 
 %define		module		transaction
 
 Summary:	Generic transaction implementation for Python, mainly used by the ZODB
 Summary(pl.UTF-8):	Ogólna implementacja transakcji dla Pythona, używana głównie przez ZODB
 Name:		python-%{module}
+# keep 3.x here for python2 support
 Version:	3.1.0
-Release:	3
+Release:	4
 License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/t/transaction/%{module}-%{version}.tar.gz
@@ -32,8 +33,8 @@ BuildRequires:	python3-modules >= 1:3.5
 BuildRequires:	python3-setuptools
 %endif
 %if %{with doc}
-BuildRequires:	python3-repoze.sphinx.autointerface
-BuildRequires:	sphinx-pdg-3 >= 1.8
+BuildRequires:	python-repoze.sphinx.autointerface
+BuildRequires:	sphinx-pdg-2 >= 1.8
 %endif
 Requires:	python-modules >= 1:2.7
 BuildArch:	noarch
@@ -88,7 +89,7 @@ Dokumentacja API modułu Pythona %{module}.
 %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-transaction.git/commitdiff/7f75ac41e79991487a3b0a6a95f476574221d3b4



More information about the pld-cvs-commit mailing list