package/python-decorator: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 5 Apr 2021 10:49:03 +0000 (12:49 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 16:14:05 +0000 (18:14 +0200)
cpe:2.3:a:python:decorator 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%3Adecorator

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

index ea56b786c468c92cde1797b0fa0856d9f8a35a76..7c4b353aaae2042aa940567791b2004494e35d51 100644 (file)
@@ -10,6 +10,8 @@ PYTHON_DECORATOR_SITE = https://files.pythonhosted.org/packages/dc/c3/9d378af09f
 PYTHON_DECORATOR_SOURCE = decorator-$(PYTHON_DECORATOR_VERSION).tar.gz
 PYTHON_DECORATOR_LICENSE = BSD-2-Clause
 PYTHON_DECORATOR_LICENSE_FILES = LICENSE.txt
+PYTHON_DECORATOR_CPE_ID_VENDOR = python
+PYTHON_DECORATOR_CPE_ID_PRODUCT = decorator
 PYTHON_DECORATOR_SETUP_TYPE = setuptools
 
 $(eval $(python-package))