[packages/python-markdown] - disable python3 here, use py2 mkdocs

qboosh qboosh at pld-linux.org
Mon Jan 18 19:15:23 CET 2021


commit 9a8cda6259f46002178da7cd2aac679892a03459
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jan 18 19:15:34 2021 +0100

    - disable python3 here, use py2 mkdocs

 python-markdown.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python-markdown.spec b/python-markdown.spec
index 162aff2..9beec6a 100644
--- a/python-markdown.spec
+++ b/python-markdown.spec
@@ -1,14 +1,16 @@
+# NOTE: for versions >= 3.2 (for python 3.6+) see python3-markdown.spec
 #
 # Conditional build:
 %bcond_with	doc	# documentation
 %bcond_without	tests	# unit tests
 %bcond_without	python2	# python2 package
-%bcond_without	python3	# python3 package
+%bcond_with	python3	# python3 package (built from python3-markdown.spec)
 
 %define 	module	markdown
 Summary:	Markdown implementation in Python 2
 Summary(pl.UTF-8):	Implementacja formatu Markdown w Pythonie 2
 Name:		python-%{module}
+# keep 3.1.x here for python2 support
 Version:	3.1.1
 Release:	1
 License:	BSD
@@ -89,8 +91,7 @@ choć jest kilka znanych problemów.
 %endif
 
 %if %{with doc}
-mkdocs
-mkdocs_nature
+mkdocs-2
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-markdown.git/commitdiff/9a8cda6259f46002178da7cd2aac679892a03459



More information about the pld-cvs-commit mailing list