package/python-django: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 5 Feb 2021 08:03:31 +0000 (09:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 5 Feb 2021 12:47:18 +0000 (13:47 +0100)
cpe:2.3:a:djangoproject:django is a valid CPE identifier for this
package:

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

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

index 512f2cd89c8bcf8b933cc52a15d7680b6ec83034..a88aa6274ac65ca0e082521f74dfc67e693c62dd 100644 (file)
@@ -10,6 +10,8 @@ PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz
 PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/32/e3/e7e9a9378321fdfc3eb55de151911dce968fa245d1f16d8c480c63ea4ed1
 PYTHON_DJANGO_LICENSE = BSD-3-Clause
 PYTHON_DJANGO_LICENSE_FILES = LICENSE
+PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject
+PYTHON_DJANGO_CPE_ID_PRODUCT = django
 PYTHON_DJANGO_SETUP_TYPE = setuptools
 
 $(eval $(python-package))