package/python-pillow: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 5 Apr 2021 16:33:06 +0000 (18:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Apr 2021 07:29:18 +0000 (09:29 +0200)
cpe:2.3:a:python:pillow is a valid CPE identifier for this package:

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

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

index 60a0bb3e1b9480605a78eb8114eda4a9a812cc22..f71fa156e2a51005346e60de5d80827f5636c6e4 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/2b/06/93bf1626ef368
 PYTHON_PILLOW_SOURCE = Pillow-$(PYTHON_PILLOW_VERSION).tar.gz
 PYTHON_PILLOW_LICENSE = PIL Software License
 PYTHON_PILLOW_LICENSE_FILES = LICENSE
+PYTHON_PILLOW_CPE_ID_VENDOR = python
+PYTHON_PILLOW_CPE_ID_PRODUCT = pillow
 PYTHON_PILLOW_SETUP_TYPE = setuptools
 PYTHON_PILLOW_BUILD_OPTS = --disable-platform-guessing