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:
@@ -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