[packages/python-configparser] - comments wrt. python versions

qboosh qboosh at pld-linux.org
Mon Mar 7 19:05:10 CET 2022


commit 762a9a3f73d78905e2067a7e70bf0e5cd9c85798
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 7 19:07:02 2022 +0100

    - comments wrt. python versions

 python-configparser.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-configparser.spec b/python-configparser.spec
index 7f73fe7..518043f 100644
--- a/python-configparser.spec
+++ b/python-configparser.spec
@@ -3,11 +3,12 @@
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# do not perform "make test"
 %bcond_without	python2 # CPython 2.x module
-%bcond_with	python3 # CPython 3.x module (not needed for Python 3.7+)
+%bcond_with	python3 # CPython 3.x module (<5 not needed for Python 3.7+)
 
 Summary:	Updated configparser from Python 3.7 to Python 2
 Summary(pl.UTF-8):	Uaktualniony configparser z Pythona 3.7 do Pythona 2
 Name:		python-configparser
+# keep 4.x here for python2 support
 Version:	4.0.2
 Release:	3
 License:	BSD
@@ -112,6 +113,7 @@ Dokumentacja API modułu Pythona configparser.
 %endif
 
 %if %{with doc}
+# py3 needed for unicode
 sphinx-build-3 -b html docs docs/_build/html
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-configparser.git/commitdiff/762a9a3f73d78905e2067a7e70bf0e5cd9c85798



More information about the pld-cvs-commit mailing list