package/python-networkx: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 5 Apr 2021 11:33:28 +0000 (13:33 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 16:16:44 +0000 (18:16 +0200)
cpe:2.3:a:python:networkx 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%3Anetworkx

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

index 2efc53d628ad4a82952a2b8ec03a13ce7ee4a719..8ebbc84bde5977410adbaf6e136a6cfcf8105a1d 100644 (file)
@@ -9,6 +9,8 @@ PYTHON_NETWORKX_SOURCE = networkx-$(PYTHON_NETWORKX_VERSION).tar.gz
 PYTHON_NETWORKX_SITE = https://pypi.python.org/packages/bf/63/7b579dd3b1c49ce6b7fd8f6f864038f255201410905dd183cf7f4a3845cf
 PYTHON_NETWORKX_LICENSE = BSD-3-Clause
 PYTHON_NETWORKX_LICENSE_FILES = LICENSE.txt
+PYTHON_NETWORKX_CPE_ID_VENDOR = python
+PYTHON_NETWORKX_CPE_ID_PRODUCT = networkx
 PYTHON_NETWORKX_SETUP_TYPE = setuptools
 HOST_PYTHON_NETWORKX_DEPENDENCIES = host-python3-decorator
 HOST_PYTHON_NETWORKX_NEEDS_HOST_PYTHON = python3