package: add python-jinja2
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 14:59:52 +0000 (15:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 15:00:36 +0000 (16:00 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-jinja2/Config.in [new file with mode: 0644]
package/python-jinja2/python-jinja2.hash [new file with mode: 0644]
package/python-jinja2/python-jinja2.mk [new file with mode: 0644]

index ace08e0d17380d6946a667945b61ad0f337065bc..4e894471d4c00e9bf21ce435796356f394244834 100644 (file)
@@ -493,6 +493,7 @@ menu "external python modules"
        source "package/python-id3/Config.in"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
+       source "package/python-jinja2/Config.in"
        source "package/python-json-schema-validator/Config.in"
        source "package/python-keyring/Config.in"
        source "package/python-libconfig/Config.in"
diff --git a/package/python-jinja2/Config.in b/package/python-jinja2/Config.in
new file mode 100644 (file)
index 0000000..1d9131a
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_JINJA2
+       bool "python-jinja2"
+       help
+         Jinja2 is a template engine written in pure Python. It
+         provides a Django inspired non-XML syntax but supports
+         inline expressions and an optional sandboxed environment.
+
+         http://jinja.pocoo.org/
diff --git a/package/python-jinja2/python-jinja2.hash b/package/python-jinja2/python-jinja2.hash
new file mode 100644 (file)
index 0000000..6e8c160
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=b9dffd2f3b43d673802fe857c8445b1a, sha256 locally computed
+md5    b9dffd2f3b43d673802fe857c8445b1a  Jinja2-2.7.3.tar.gz
+sha256 2e24ac5d004db5714976a04ac0e80c6df6e47e98c354cb2c0d82f8879d4f8fdb  Jinja2-2.7.3.tar.gz
diff --git a/package/python-jinja2/python-jinja2.mk b/package/python-jinja2/python-jinja2.mk
new file mode 100644 (file)
index 0000000..49625e3
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-jinja2
+#
+################################################################################
+
+PYTHON_JINJA2_VERSION = 2.7.3
+PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz
+PYTHON_JINJA2_SITE = http://pypi.python.org/packages/source/J/Jinja2
+PYTHON_JINJA2_SETUP_TYPE = setuptools
+PYTHON_JINJA2_LICENSE = BSD-3c
+PYTHON_JINJA2_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))