package/python-urllib3: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 1 Mar 2021 17:37:01 +0000 (18:37 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 1 Mar 2021 19:18:46 +0000 (20:18 +0100)
cpe:2.3:a:python:urllib3 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%3Aurllib3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-urllib3/python-urllib3.mk

index 1f212ec69e4a676e80b17509e778c4bad6a2937a..82db02fcc26e336d1bcd68bc2660b011fbf4766d 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz
 PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/29/e6/d1a1d78c439cad688757b70f26c50a53332167c364edb0134cadd280e234
 PYTHON_URLLIB3_LICENSE = MIT
 PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt
+PYTHON_URLLIB3_CPE_ID_VENDOR = python
+PYTHON_URLLIB3_CPE_ID_PRODUCT = urllib3
 PYTHON_URLLIB3_SETUP_TYPE = setuptools
 
 $(eval $(python-package))