package/python3-decorator: add _CPE_ID_VENDOR and _CPE_ID_PRODUCT
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 20 Apr 2021 20:11:41 +0000 (15:11 -0500)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 20 Apr 2021 21:23:13 +0000 (23:23 +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:2.3:a:python:decorator

Note: 4783e5fd8c already added those for the python(2) variant.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[yann.morin.1998@free.fr:
  - add reference to 4783e5fd8c
  - move up, right after license
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python3-decorator/python3-decorator.mk

index c14f10fbf4e8c724113dd3e3996e51a50563c0f6..ed6d86fe3a3132afaa063a4bb05e40db3a4cb309 100644 (file)
@@ -10,6 +10,8 @@ PYTHON3_DECORATOR_SITE = https://files.pythonhosted.org/packages/dc/c3/9d378af09
 PYTHON3_DECORATOR_SOURCE = decorator-$(PYTHON3_DECORATOR_VERSION).tar.gz
 PYTHON3_DECORATOR_LICENSE = BSD-2-Clause
 PYTHON3_DECORATOR_LICENSE_FILES = LICENSE.txt
+PYTHON3_DECORATOR_CPE_ID_VENDOR = python
+PYTHON3_DECORATOR_CPE_ID_PRODUCT = decorator
 PYTHON3_DECORATOR_SETUP_TYPE = setuptools
 HOST_PYTHON3_DECORATOR_NEEDS_HOST_PYTHON = python3