Files
poky/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
Tim Orling 7a00748477 python3-attrs: fix CVE_PRODUCT
No new CVEs are caught, but attrs_project:attrs matches the upstream
NVD dictionary CPE. The pypi.bbclass default "python:attrs" generates
the wrong product identity for the packaged attrs source.

This changes the generated product identity, but the Scarthgap
cve-check database snapshot has no current CVE report delta.

Note: The original commit targeted python3-attrs_26.1.0.bb. This is
adjusted for Scarthgap, where the recipe version is 23.2.0.

AI-Generated: Claude Sonnet 5
(From OE-Core rev: dbed62df037003f1200003c6d7a590574b8f6d33)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc07eddb82fe42ecf86e685450ec0b5c9d3a9ce1)
Signed-off-by: Devansh Patel <devanshp@cisco.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2026-09-11 14:32:08 +01:00

41 lines
954 B
BlitzBasic

SUMMARY = "Classes Without Boilerplate"
HOMEPAGE = "http://www.attrs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"
inherit pypi ptest python_hatchling
CVE_PRODUCT = "attrs_project:attrs"
SRC_URI += " \
file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \
file://0001-conftest.py-disable-deadline.patch \
file://run-ptest \
"
DEPENDS += " \
python3-hatch-vcs-native \
python3-hatch-fancy-pypi-readme-native \
"
RDEPENDS:${PN}+= " \
python3-compression \
python3-crypt \
"
RDEPENDS:${PN}-ptest += " \
python3-hypothesis \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install ${S}/conftest.py ${D}${PTEST_PATH}/
}
BBCLASSEXTEND = "native nativesdk"