diff options
author | 2022-05-07 12:22:11 +0100 | |
---|---|---|
committer | 2022-05-16 13:59:44 -1000 | |
commit | 80a1de36bc86a864d52292ef9770b77480f3c67b (patch) | |
tree | 203d1139b8344a60fe708758f42eef9d362597bf | |
parent | a27a0c3bceedf06de7ff8cae4a8fe4d2f6f514b8 (diff) | |
download | openembedded-core-contrib-80a1de36bc86a864d52292ef9770b77480f3c67b.tar.gz |
pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
The CVE product name for PyPI packages is (usually) the same as the PyPI
package name (and not our recipe name), so use that as the default.
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/classes/pypi.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/pypi.bbclass b/meta/classes/pypi.bbclass index 9405d58601..5fa7b8a6ae 100644 --- a/meta/classes/pypi.bbclass +++ b/meta/classes/pypi.bbclass @@ -24,3 +24,5 @@ S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${PYPI_PACKAGE}/" UPSTREAM_CHECK_REGEX ?= "/${PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/" + +CVE_PRODUCT ?= "python:${PYPI_PACKAGE}" |