[packages/python-betamax] - disabled python3 here, release 7

qboosh qboosh at pld-linux.org
Fri Nov 28 21:55:05 CET 2025


commit c9ca6aaaf9f24add87985436adf9e3eb471cccb9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 28 21:55:13 2025 +0100

    - disabled python3 here, release 7

 python-betamax.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-betamax.spec b/python-betamax.spec
index 5224692..226d3d0 100644
--- a/python-betamax.spec
+++ b/python-betamax.spec
@@ -3,13 +3,14 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_with	tests	# unit tests (6 failing as of 0.8.1)
 %bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
+%bcond_with	python3 # CPython 3.x module (built from python3-betamax.spec)
 
 Summary:	VCR imitation for python-requests
 Summary(pl.UTF-8):	Imitacja VCR dla python-requests
 Name:		python-betamax
+# keep 0.8.x here for python2 support
 Version:	0.8.1
-Release:	6
+Release:	7
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/betamax/
@@ -33,7 +34,7 @@ BuildRequires:	python3-pytest
 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
@@ -97,7 +98,8 @@ PYTEST_PLUGINS="betamax.fixtures.pytest" \
 %endif
 
 %if %{with doc}
-%{__make} -C docs html
+%{__make} -C docs html \
+	SPHINXBUILD=sphinx-build-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-betamax.git/commitdiff/c9ca6aaaf9f24add87985436adf9e3eb471cccb9




More information about the pld-cvs-commit mailing list