package/python3-setuptools: add _CPE_ID_VENDOR and_CPE_ID_PRODUCT
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 20 Apr 2021 20:11:42 +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:setuptools:* 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:setuptools

Note: 63332c33aa 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 63332c33aa
  - move up, right after license
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/python3-setuptools/python3-setuptools.mk

index 3f4f1100febdc78fda5250561177f3ede6bfef50..34d5993120ecb954a3e3e5ddb7086fe50087e08d 100644 (file)
@@ -11,6 +11,8 @@ PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip
 PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485
 PYTHON3_SETUPTOOLS_LICENSE = MIT
 PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE
+PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python
+PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools
 PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools
 HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools
 HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3