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

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

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

index 19d97a6f9729c6693c7be9202ff1aa076849fadc..9dbc472213cbdf7a0ebe5cc4fce667ed6db48b06 100644 (file)
@@ -11,5 +11,7 @@ PYTHON_PSUTIL_SITE = https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b5
 PYTHON_PSUTIL_SETUP_TYPE = setuptools
 PYTHON_PSUTIL_LICENSE = BSD-3-Clause
 PYTHON_PSUTIL_LICENSE_FILES = LICENSE
+PYTHON_PSUTIL_CPE_ID_VENDOR = psutil_project
+PYTHON_PSUTIL_CPE_ID_PRODUCT = psutil
 
 $(eval $(python-package))
index febf0d3edb98dc96b35c5b8d24e2e9c4093ca910..029e1b1c122b43d98f1ec4831d03eadf2b1789b6 100644 (file)
@@ -11,6 +11,8 @@ PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b
 PYTHON3_PSUTIL_SETUP_TYPE = setuptools
 PYTHON3_PSUTIL_LICENSE = BSD-3-Clause
 PYTHON3_PSUTIL_LICENSE_FILES = LICENSE
+PYTHON3_PSUTIL_CPE_ID_VENDOR = psutil_project
+PYTHON3_PSUTIL_CPE_ID_PRODUCT = psutil
 HOST_PYTHON3_PSUTIL_DL_SUBDIR = python-psutil
 HOST_PYTHON3_PSUTIL_NEEDS_HOST_PYTHON = python3