From: Peter Korsgaard Date: Fri, 14 Nov 2014 14:59:52 +0000 (+0100) Subject: package: add python-jinja2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b534b5aaca63fd0c981ea421999bcd4b562fecda;p=buildroot.git package: add python-jinja2 Signed-off-by: Peter Korsgaard --- diff --git a/package/Config.in b/package/Config.in index ace08e0d17..4e894471d4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..1d9131affb --- /dev/null +++ b/package/python-jinja2/Config.in @@ -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 index 0000000000..6e8c1603b9 --- /dev/null +++ b/package/python-jinja2/python-jinja2.hash @@ -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 index 0000000000..49625e3678 --- /dev/null +++ b/package/python-jinja2/python-jinja2.mk @@ -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))