Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View 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/

View File

@@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/jinja2/json, sha256 locally computed
md5 9e55f0db6620dd99a1b366183a94270d Jinja2-2.9.5.tar.gz
sha256 702a24d992f856fa8d5a7a36db6128198d0c21e1da34448ca236c42e92384825 Jinja2-2.9.5.tar.gz

View File

@@ -0,0 +1,29 @@
################################################################################
#
# python-jinja2
#
################################################################################
PYTHON_JINJA2_VERSION = 2.9.5
PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz
PYTHON_JINJA2_SITE = https://pypi.python.org/packages/71/59/d7423bd5e7ddaf3a1ce299ab4490e9044e8dfd195420fc83a24de9e60726
PYTHON_JINJA2_SETUP_TYPE = setuptools
PYTHON_JINJA2_LICENSE = BSD-3-Clause
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.
ifeq ($(BR2_PACKAGE_PYTHON),y)
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
endif
$(eval $(python-package))
$(eval $(host-python-package))