[packages/python-nbformat] - disable python3 here

qboosh qboosh at pld-linux.org
Tue Apr 14 20:52:57 CEST 2020


commit 4a0840d1d6455fa467982467ba7bfeb745a2e5f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 14 20:53:00 2020 +0200

    - disable python3 here

 python-nbformat.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-nbformat.spec b/python-nbformat.spec
index 02e7551..cd44214 100644
--- a/python-nbformat.spec
+++ b/python-nbformat.spec
@@ -1,13 +1,15 @@
+# NOTE: for versions >= 5.0 (for python 3.5+) see python3-nbformat.spec
 #
 # Conditional build:
 %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-nbformat.spec)
 
 Summary:	The Jupyter Notebook Format
 Summary(pl.UTF-8):	Format Jupyter Notebook
 Name:		python-nbformat
+# keep 4.x here for python2 support
 Version:	4.4.0
 Release:	3
 License:	BSD
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-nbformat.git/commitdiff/4a0840d1d6455fa467982467ba7bfeb745a2e5f8



More information about the pld-cvs-commit mailing list