package/python-requests: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 15 May 2021 10:33:55 +0000 (12:33 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 15 May 2021 12:19:42 +0000 (14:19 +0200)
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 <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python-requests/python-requests.mk
package/python3-requests/python3-requests.mk

index 2b543c0f9adad5775134570dbaedc2ed9ef8b6ec..5d0f545ffb08bad4e19ed542dfca07bee88ffce8 100644 (file)
@@ -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))
index b67d71a18b9f6ce813a775d8c2e724967881352c..dbb3f21490149768a106b203b8c7738e9bb05232 100644 (file)
@@ -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