[packages/python-ujson] - disable python3 here

qboosh qboosh at pld-linux.org
Sun Jun 28 06:54:03 CEST 2020


commit 706ac75eb109ebbcb23e6c20500eee9378719bbe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 28 06:55:13 2020 +0200

    - disable python3 here

 python-ujson.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-ujson.spec b/python-ujson.spec
index 370840d..f1040e4 100644
--- a/python-ujson.spec
+++ b/python-ujson.spec
@@ -1,12 +1,14 @@
+# NOTE: for versions >=3 (for python 3.5+) see python3-ujson.spec
 #
 # Conditional build:
 %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-ujson.spec)
 
 Summary:	Ultra fast JSON encoder and decoder for Python
 Summary(pl.UTF-8):	Ultraszybki koder i dekoder formatu JSON dla Pythona
 Name:		python-ujson
+# keep 2.x here for python2 support
 Version:	2.0.3
 Release:	1
 License:	BSD
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ujson.git/commitdiff/706ac75eb109ebbcb23e6c20500eee9378719bbe



More information about the pld-cvs-commit mailing list