package/python-enum34: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Apr 2021 22:01:54 +0000 (00:01 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 07:30:14 +0000 (09:30 +0200)
cpe:2.3:a:python:enum34 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%3Aenum34

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

index 3d3ce388300686795513ca10c98f342e0a6aa6c8..0bd00508aafcfe6ad754a28d0313445aebe8aab2 100644 (file)
@@ -10,6 +10,8 @@ PYTHON_ENUM34_SITE = https://files.pythonhosted.org/packages/11/c4/2da1f4952ba47
 PYTHON_ENUM34_SETUP_TYPE = setuptools
 PYTHON_ENUM34_LICENSE = BSD-3-Clause
 PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE
+PYTHON_ENUM34_CPE_ID_VENDOR = python
+PYTHON_ENUM34_CPE_ID_PRODUCT = enum34
 
 $(eval $(python-package))
 $(eval $(host-python-package))