package/python3-jinja2: add special host variant

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2020-11-17 23:34:32 +01:00 committed by Thomas Petazzoni
parent aa93ef1617
commit d3cbde6464
3 changed files with 20 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# #
################################################################################ ################################################################################
# Please keep in sync with package/python3-jinja2/python3-jinja2.mk
PYTHON_JINJA2_VERSION = 2.11.2 PYTHON_JINJA2_VERSION = 2.11.2
PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz 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/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c

View File

@ -0,0 +1 @@
../python-jinja2/python-jinja2.hash

View File

@ -0,0 +1,18 @@
################################################################################
#
# python3-jinja2
#
################################################################################
PYTHON3_JINJA2_VERSION = 2.11.2
PYTHON3_JINJA2_SOURCE = Jinja2-$(PYTHON3_JINJA2_VERSION).tar.gz
PYTHON3_JINJA2_SITE = https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c
PYTHON3_JINJA2_SETUP_TYPE = setuptools
PYTHON3_JINJA2_LICENSE = BSD-3-Clause
PYTHON3_JINJA2_LICENSE_FILES = LICENSE.rst
HOST_PYTHON3_JINJA2_NEEDS_HOST_PYTHON = python3
# In host build, setup.py tries to download markupsafe if it is not installed
HOST_PYTHON3_JINJA2_DEPENDENCIES = host-python3-markupsafe
$(eval $(host-python-package))