update buildroot to 2017.02.11
This commit is contained in:
9
bsp/buildroot-2017.02.11/package/python-jinja2/Config.in
Normal file
9
bsp/buildroot-2017.02.11/package/python-jinja2/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PYTHON_JINJA2
|
||||
bool "python-jinja2"
|
||||
select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
|
||||
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/
|
||||
@@ -0,0 +1,3 @@
|
||||
# md5 from https://pypi.python.org/pypi/jinja2/json, sha256 locally computed
|
||||
md5 b151bfab6fb728fb7a06da4299161c74 Jinja2-2.9.4.tar.gz
|
||||
sha256 aab8d8ca9f45624f1e77f2844bf3c144d180e97da8824c2a6d7552ad039b5442 Jinja2-2.9.4.tar.gz
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-jinja2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_JINJA2_VERSION = 2.9.4
|
||||
PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz
|
||||
PYTHON_JINJA2_SITE = https://pypi.python.org/packages/f4/3f/28387a5bbc6883082c16784c6135440b94f9d5938fb156ff579798e18eda
|
||||
PYTHON_JINJA2_SETUP_TYPE = setuptools
|
||||
PYTHON_JINJA2_LICENSE = BSD-3c
|
||||
PYTHON_JINJA2_LICENSE_FILES = LICENSE
|
||||
# In host build, setup.py tries to download markupsafe if it is not installed
|
||||
HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe
|
||||
|
||||
# Both asyncsupport.py and asyncfilters.py use async feature, that is
|
||||
# not available in Python 2 and some features available in Python 3.6.
|
||||
# So in both cases *.py compilation would produce compiler errors.
|
||||
# Hence remove both files after package extraction.
|
||||
define PYTHON_JINJA2_REMOVE_ASYNC_SUPPORT
|
||||
rm $(@D)/jinja2/asyncsupport.py $(@D)/jinja2/asyncfilters.py
|
||||
endef
|
||||
|
||||
PYTHON_JINJA2_POST_EXTRACT_HOOKS = PYTHON_JINJA2_REMOVE_ASYNC_SUPPORT
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user