[packages/python-webcolors] - disable python3 here

qboosh qboosh at pld-linux.org
Sat Apr 11 22:05:54 CEST 2020


commit fe5065d69c9d291ae341e5a023a6827b346543c9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 11 22:05:57 2020 +0200

    - disable python3 here

 python-webcolors.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-webcolors.spec b/python-webcolors.spec
index 1065dc7..e630cc7 100644
--- a/python-webcolors.spec
+++ b/python-webcolors.spec
@@ -1,7 +1,8 @@
+# NOTE: for versions >= 1.11 (for python 3.5+) see python3-webcolors.spec
 #
 # 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-webcolors.spec)
 %bcond_without	doc	# Sphinx documentation
 %bcond_without	tests	# unit tests
 
@@ -9,6 +10,7 @@
 Summary:	Library for working with sRGB color specifications as used in HTML and CSS
 Summary(pl.UTF-8):	Biblioteka do pracy z definicjami kolorów sRGB używanymi w formatach HTML i CSS
 Name:		python-%{module}
+# keep 1.10.x here for python2 support
 Version:	1.10
 Release:	2
 License:	BSD
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webcolors.git/commitdiff/fe5065d69c9d291ae341e5a023a6827b346543c9



More information about the pld-cvs-commit mailing list