package: add python-markupsafe
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Nov 2014 15:49:38 +0000 (16:49 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Nov 2014 15:49:38 +0000 (16:49 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-markupsafe/Config.in [new file with mode: 0644]
package/python-markupsafe/python-markupsafe.hash [new file with mode: 0644]
package/python-markupsafe/python-markupsafe.mk [new file with mode: 0644]

index 3e5ad3966f0dcf94cf44d1b84e4d61288e17cefa..92af9424f0ed0bce5100ef0e595a5fbd9087560d 100644 (file)
@@ -500,6 +500,7 @@ menu "external python modules"
        source "package/python-keyring/Config.in"
        source "package/python-libconfig/Config.in"
        source "package/python-mad/Config.in"
+       source "package/python-markupsafe/Config.in"
        source "package/python-meld3/Config.in"
        source "package/python-msgpack/Config.in"
        source "package/python-netifaces/Config.in"
diff --git a/package/python-markupsafe/Config.in b/package/python-markupsafe/Config.in
new file mode 100644 (file)
index 0000000..48421e0
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_MARKUPSAFE
+       bool "python-markupsafe"
+       help
+         MarkupSafe implements a XML/HTML/XHTML Markup safe string
+         for Python.
+
+         https://github.com/mitsuhiko/markupsafe
diff --git a/package/python-markupsafe/python-markupsafe.hash b/package/python-markupsafe/python-markupsafe.hash
new file mode 100644 (file)
index 0000000..448252b
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=f5ab3deee4c37cd6a922fb81e730da6e, sha256 locally computed
+md5    f5ab3deee4c37cd6a922fb81e730da6e  MarkupSafe-0.23.tar.gz
+sha256 a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3  MarkupSafe-0.23.tar.gz
diff --git a/package/python-markupsafe/python-markupsafe.mk b/package/python-markupsafe/python-markupsafe.mk
new file mode 100644 (file)
index 0000000..9c7eb14
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-markupsafe
+#
+################################################################################
+
+PYTHON_MARKUPSAFE_VERSION = 0.23
+PYTHON_MARKUPSAFE_SOURCE = MarkupSafe-$(PYTHON_MARKUPSAFE_VERSION).tar.gz
+PYTHON_MARKUPSAFE_SITE = http://pypi.python.org/packages/source/M/MarkupSafe
+PYTHON_MARKUPSAFE_SETUP_TYPE = setuptools
+PYTHON_MARKUPSAFE_LICENSE = BSD-3c
+PYTHON_MARKUPSAFE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))