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

qboosh qboosh at pld-linux.org
Sat Jun 28 19:18:28 CEST 2025


commit 31cc1a2dc982318a581c5b195a3e2dcd54bcbe4a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 28 19:19:53 2025 +0200

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

 python-execnet.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/python-execnet.spec b/python-execnet.spec
index 8e38d1e..b0aab39 100644
--- a/python-execnet.spec
+++ b/python-execnet.spec
@@ -1,16 +1,17 @@
 #
 # Conditional build:
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-execnet.spec)
 %bcond_without	doc	# Sphinx documentation
-%bcond_with	tests	# py.test based tests [use network, need some environment]
+%bcond_with	tests	# pytest based tests [use network, need some environment]
 
 %define 	module	execnet
 Summary:	Rapid multi-Python deployment
 Summary(pl.UTF-8):	Szybkie wdrożenia na wielu Pythonach
 Name:		python-%{module}
+# keep 1.x here for python2 support
 Version:	1.9.0
-Release:	6
+Release:	7
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/execnet/
@@ -40,7 +41,7 @@ BuildRequires:	python3-pytest-timeout
 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
 BuildArch:	noarch
@@ -124,7 +125,8 @@ PYTEST_PLUGINS="pytest_timeout" \
 %endif
 
 %if %{with doc}
-%{__make} -C doc html
+%{__make} -C doc html \
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-execnet.git/commitdiff/31cc1a2dc982318a581c5b195a3e2dcd54bcbe4a



More information about the pld-cvs-commit mailing list