package/python-cryptography: add CPE variables
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 4 Apr 2021 21:25:52 +0000 (23:25 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 5 Apr 2021 07:28:34 +0000 (09:28 +0200)
cpe:2.3:a:cryptography_project:cryptography is a valid CPE identifier
for this package:

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

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

index 6eb7be8d5d8ca75c5b963fa152255f3e9fc8998d..bc7a9f8027460df153132105c6d7855875ad4f07 100644 (file)
@@ -10,6 +10,8 @@ PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/bf/ac/552fc87
 PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools
 PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause
 PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD
+PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project
+PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography
 PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl
 
 $(eval $(python-package))