aboutsummaryrefslogtreecommitdiff
path: root/package/python-markdown
diff options
context:
space:
mode:
authorGravatar Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>2014-12-21 16:26:54 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-21 21:56:36 +0100
commitc1b0554172dd2d493ae39d9a4ed3467abc6740bb (patch)
treeb93c19ecdfffbfadfdf840edd0a4034240b5e597 /package/python-markdown
parent6cf9c2b8309bad23b6badde81712517f6b1df7de (diff)
downloadbuildroot-c1b0554172dd2d493ae39d9a4ed3467abc6740bb.tar.gz
buildroot-c1b0554172dd2d493ae39d9a4ed3467abc6740bb.tar.bz2
python-markdown: new package
[Thomas: - Remove host variant of python-markdown, as it is not needed. - Add runtime dependency on Python XML module.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-markdown')
-rw-r--r--package/python-markdown/Config.in9
-rw-r--r--package/python-markdown/python-markdown.mk14
2 files changed, 23 insertions, 0 deletions
diff --git a/package/python-markdown/Config.in b/package/python-markdown/Config.in
new file mode 100644
index 0000000000..6706684142
--- /dev/null
+++ b/package/python-markdown/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_MARKDOWN
+ bool "python-markdown"
+ # runtime dependency on Python's xml module
+ select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
+ help
+ This is a Python implementation of John Gruber's Markdown
+
+ https://pypi.python.org/pypi/Markdown
diff --git a/package/python-markdown/python-markdown.mk b/package/python-markdown/python-markdown.mk
new file mode 100644
index 0000000000..864825e369
--- /dev/null
+++ b/package/python-markdown/python-markdown.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-markdown
+#
+################################################################################
+
+PYTHON_MARKDOWN_VERSION = 2.5.2
+PYTHON_MARKDOWN_SOURCE = Markdown-$(PYTHON_MARKDOWN_VERSION).tar.gz
+PYTHON_MARKDOWN_SITE = http://pypi.python.org/packages/source/M/Markdown
+PYTHON_MARKDOWN_LICENSE = BSD-3c
+PYTHON_MARKDOWN_LICENSE_FILES = LICENSE.md
+PYTHON_MARKDOWN_SETUP_TYPE = distutils
+
+$(eval $(python-package))