[packages/python-asttokens] - disabled python3 here, release 4

qboosh qboosh at pld-linux.org
Fri Nov 28 18:27:25 CET 2025


commit d01a9fa431ddf43e3b02e904c68c886664754111
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 28 18:27:25 2025 +0100

    - disabled python3 here, release 4

 python-asttokens.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-asttokens.spec b/python-asttokens.spec
index ce3b411..705179f 100644
--- a/python-asttokens.spec
+++ b/python-asttokens.spec
@@ -3,13 +3,14 @@
 %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-asttokens.spec)
 
 Summary:	Annotate AST trees with source code positions
 Summary(pl.UTF-8):	Oznaczanie drzew AST lokalizacją w kodzie źródłowym
 Name:		python-asttokens
+# keep 2.x here for python2 support
 Version:	2.4.1
-Release:	3
+Release:	4
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/asttokens/
@@ -42,6 +43,7 @@ BuildRequires:	python3-six >= 1.12.0
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with doc}
+# doesn't build with python2 based sphinx (complains on missing contents.rst)
 BuildRequires:	python3-sphinx_rtd_theme
 BuildRequires:	sphinx-pdg-3
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-asttokens.git/commitdiff/d01a9fa431ddf43e3b02e904c68c886664754111




More information about the pld-cvs-commit mailing list