From d3cbde64647142bdef5857fc94da2576a1e98d7a Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Tue, 17 Nov 2020 23:34:32 +0100 Subject: [PATCH] package/python3-jinja2: add special host variant Signed-off-by: Peter Seiderer Signed-off-by: Thomas Petazzoni --- package/python-jinja2/python-jinja2.mk | 1 + package/python3-jinja2/python3-jinja2.hash | 1 + package/python3-jinja2/python3-jinja2.mk | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 120000 package/python3-jinja2/python3-jinja2.hash create mode 100644 package/python3-jinja2/python3-jinja2.mk diff --git a/package/python-jinja2/python-jinja2.mk b/package/python-jinja2/python-jinja2.mk index 5f6492915c..51b484d03e 100644 --- a/package/python-jinja2/python-jinja2.mk +++ b/package/python-jinja2/python-jinja2.mk @@ -4,6 +4,7 @@ # ################################################################################ +# Please keep in sync with package/python3-jinja2/python3-jinja2.mk PYTHON_JINJA2_VERSION = 2.11.2 PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c diff --git a/package/python3-jinja2/python3-jinja2.hash b/package/python3-jinja2/python3-jinja2.hash new file mode 120000 index 0000000000..543e981aa0 --- /dev/null +++ b/package/python3-jinja2/python3-jinja2.hash @@ -0,0 +1 @@ +../python-jinja2/python-jinja2.hash \ No newline at end of file diff --git a/package/python3-jinja2/python3-jinja2.mk b/package/python3-jinja2/python3-jinja2.mk new file mode 100644 index 0000000000..cc8b1ff86f --- /dev/null +++ b/package/python3-jinja2/python3-jinja2.mk @@ -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)) -- 2.30.2