package/python-bsdiff4: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 5 Apr 2021 10:37:45 +0000 (12:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 16:13:57 +0000 (18:13 +0200)
cpe:2.3:a:pypi:bsdiff4 is a valid CPE identifier for this package:

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

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

index 7bc607b2d6f10639bdc1b65c961b91e788fe9405..3b789ac9b4b19309a650e257ab25aa0efc84ba80 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz
 PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/9b/ca/06cd939630ca78125c36489f92b52918980cbcfee2dcc0969411eb5ae8a8
 PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c)
 PYTHON_BSDIFF4_LICENSE_FILES = LICENSE
+PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi
+PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4
 PYTHON_BSDIFF4_SETUP_TYPE = distutils
 
 $(eval $(python-package))