mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_JINJA2
|
||||
bool "python-jinja2"
|
||||
select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime
|
||||
select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3
|
||||
select BR2_PACKAGE_PYTHON3_UNICODEDATA
|
||||
help
|
||||
Jinja2 is a template engine written in pure Python. It
|
||||
provides a Django inspired non-XML syntax but supports
|
||||
|
@@ -1,5 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/jinja2/json
|
||||
md5 0362203b22547abca06ed1082bc1e7b4 Jinja2-2.11.2.tar.gz
|
||||
sha256 89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0 Jinja2-2.11.2.tar.gz
|
||||
md5 b76ae2f0647abebc81e7c03f5fb7b00f Jinja2-3.0.3.tar.gz
|
||||
sha256 611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 Jinja2-3.0.3.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 3b49dcee4105eb37bac10faf1be260408fe85d252b8e9df2e0979fc1e094437b LICENSE.rst
|
||||
|
@@ -4,27 +4,18 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_JINJA2_VERSION = 2.11.2
|
||||
PYTHON_JINJA2_VERSION = 3.0.3
|
||||
PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz
|
||||
PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c
|
||||
PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/91/a5/429efc6246119e1e3fbf562c00187d04e83e54619249eb732bb423efa6c6
|
||||
PYTHON_JINJA2_SETUP_TYPE = setuptools
|
||||
PYTHON_JINJA2_LICENSE = BSD-3-Clause
|
||||
PYTHON_JINJA2_LICENSE_FILES = LICENSE.rst
|
||||
PYTHON_JINJA2_CPE_ID_VENDOR = pocoo
|
||||
PYTHON_JINJA2_CPE_ID_PRODUCT = jinja2
|
||||
|
||||
# In host build, setup.py tries to download markupsafe if it is not installed
|
||||
# In host/target build, setup.py tries to download markupsafe if it is not installed
|
||||
PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe
|
||||
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)/src/jinja2/asyncsupport.py $(@D)/src/jinja2/asyncfilters.py
|
||||
endef
|
||||
|
||||
PYTHON_JINJA2_POST_EXTRACT_HOOKS = PYTHON_JINJA2_REMOVE_ASYNC_SUPPORT
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
|
Reference in New Issue
Block a user