pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
PATCH 1/1 pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
From: Alex Kiernan <[email protected]>
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 <[email protected]>
Signed-off-by Alex Kiernan <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)
Signed-off-by Sanjay Chitroda <[email protected]>
--- meta/classes/pypi.bbclass | 2 ++ 1 file changed, 2 insertions(+)
meta/classes/pypi.bbclass +2 -0
@@ -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}"
Signature · 1 line
2.35.6
This patch should go to [email protected] <mailto:[email protected]>.
Thanks,
Ross
Quoted 38 lines · On 15 May 2023, at 11:55, Sanjaykumar kantibhai Chitroda -X (schitrod - E-INFO…
From: Alex Kiernan <[email protected]>
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 <[email protected]>Signed-off-by Alex Kiernan <[email protected]>Signed-off-by Richard Purdie <[email protected]>(cherry picked from commit 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)Signed-off-by Sanjay Chitroda <[email protected]>---
meta/classes/pypi.bbclass | 2 ++1 file changed, 2 insertions(+)meta/classes/pypi.bbclass +0
-0@@ -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+[\.\-_]*)+)/"meta/classes/pypi.bbclass +2
-0+ +CVE_PRODUCT ?= "python:${PYPI_PACKAGE}"Signature · 10 lines
2.35.6 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60025): https://lists.yoctoproject.org/g/yocto/message/60025 Mute This Topic: https://lists.yoctoproject.org/mt/98900696/6875888 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-