From 165f60a09237359611fd11a6ba63abe812e37128 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 5 Apr 2021 13:14:59 +0200 Subject: [PATCH] package/python-jinja2: add CPE variables cpe:2.3:a:pocoo:jinja2 is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apocoo%3Ajinja2 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/python-jinja2/python-jinja2.mk | 2 ++ package/python3-jinja2/python3-jinja2.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/package/python-jinja2/python-jinja2.mk b/package/python-jinja2/python-jinja2.mk index b0dcd89dbd..f91cac6937 100644 --- a/package/python-jinja2/python-jinja2.mk +++ b/package/python-jinja2/python-jinja2.mk @@ -11,6 +11,8 @@ PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/4f/e7/65300e6b32e69 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 HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe diff --git a/package/python3-jinja2/python3-jinja2.mk b/package/python3-jinja2/python3-jinja2.mk index 188dda91b7..5d29e1d889 100644 --- a/package/python3-jinja2/python3-jinja2.mk +++ b/package/python3-jinja2/python3-jinja2.mk @@ -10,6 +10,8 @@ PYTHON3_JINJA2_SITE = https://files.pythonhosted.org/packages/4f/e7/65300e6b32e6 PYTHON3_JINJA2_SETUP_TYPE = setuptools PYTHON3_JINJA2_LICENSE = BSD-3-Clause PYTHON3_JINJA2_LICENSE_FILES = LICENSE.rst +PYTHON3_JINJA2_CPE_ID_VENDOR = pocoo +PYTHON3_JINJA2_CPE_ID_PRODUCT = jinja2 HOST_PYTHON3_JINJA2_NEEDS_HOST_PYTHON = python3 # In host build, setup.py tries to download markupsafe if it is not installed -- 2.30.2