python3-py: set CVE_PRODUCT

The related CVEs are tracked using pytest:py CPE, so set the CVE_PRODUCT
accordingly instead of the default python:py.

See CVE db query:
sqlite> select * from products where product like 'py';
CVE-2020-29651|pytest|py|||1.9.0|<=
CVE-2022-42969|pytest|py|||1.11.0|<=

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-12-31 08:54:05 +01:00 committed by Khem Raj
parent 15ab75e8fb
commit 1fac509459
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9"
SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"
CVE_PRODUCT = "py"
DEPENDS += "python3-setuptools-scm-native"
inherit pypi python_setuptools_build_meta