package/python-pygments: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Apr 2021 20:27:33 +0000 (22:27 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 07:25:46 +0000 (09:25 +0200)
cpe:2.3:a:pygments:pygments is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Apygments%3Apygments

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

index 5d190c49904f3e6a5d627539d914499f94813145..bde06c9a8b67b672e37876611b5a58ed711718a3 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_PYGMENTS_SOURCE = Pygments-$(PYTHON_PYGMENTS_VERSION).tar.gz
 PYTHON_PYGMENTS_SITE = https://files.pythonhosted.org/packages/7e/ae/26808275fc76bf2832deb10d3a3ed3107bc4de01b85dcccbe525f2cd6d1e
 PYTHON_PYGMENTS_LICENSE = BSD-2-Clause
 PYTHON_PYGMENTS_LICENSE_FILES = LICENSE
+PYTHON_PYGMENTS_CPE_ID_VENDOR = pygments
+PYTHON_PYGMENTS_CPE_ID_PRODUCT = pygments
 PYTHON_PYGMENTS_SETUP_TYPE = setuptools
 
 $(eval $(python-package))