From: Fabrice Fontaine Date: Sat, 15 May 2021 10:33:55 +0000 (+0200) Subject: package/python-requests: add CPE variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c5cf3788054c078e1650d5c06f0ab36c3438c9b;p=buildroot.git package/python-requests: add CPE variables cpe:2.3:a:python:requests is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apython%3Arequests Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/python-requests/python-requests.mk b/package/python-requests/python-requests.mk index 2b543c0f9a..5d0f545ffb 100644 --- a/package/python-requests/python-requests.mk +++ b/package/python-requests/python-requests.mk @@ -11,5 +11,7 @@ PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc08432 PYTHON_REQUESTS_SETUP_TYPE = setuptools PYTHON_REQUESTS_LICENSE = Apache-2.0 PYTHON_REQUESTS_LICENSE_FILES = LICENSE +PYTHON_REQUESTS_CPE_ID_VENDOR = python +PYTHON_REQUESTS_CPE_ID_PRODUCT = requests $(eval $(python-package)) diff --git a/package/python3-requests/python3-requests.mk b/package/python3-requests/python3-requests.mk index b67d71a18b..dbb3f21490 100644 --- a/package/python3-requests/python3-requests.mk +++ b/package/python3-requests/python3-requests.mk @@ -11,6 +11,8 @@ PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc0843 PYTHON3_REQUESTS_SETUP_TYPE = setuptools PYTHON3_REQUESTS_LICENSE = Apache-2.0 PYTHON3_REQUESTS_LICENSE_FILES = LICENSE +PYTHON3_REQUESTS_CPE_ID_VENDOR = python +PYTHON3_REQUESTS_CPE_ID_PRODUCT = requests HOST_PYTHON3_REQUESTS_DL_SUBDIR = python-requests HOST_PYTHON3_REQUESTS_NEEDS_HOST_PYTHON = python3