Files
meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.7.bb
T
Devansh Patel d26cd38796 python3-simpleeval: add CVE_PRODUCT mapping
The current inherited "python:simpleeval" mapping is wrong for the
packaged danthedeckie SimpleEval source and misses its vulnerability
record.

Use "danthedeckie:simpleeval" for the source-aligned NVD dictionary
CPE, NVD configuration identity, and CNA affected-data identity.

Signed-off-by: Devansh Patel <devanshp@cisco.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-22 18:50:03 -07:00

21 lines
541 B
BlitzBasic

SUMMARY = "A simple, safe single expression evaluator library"
HOMEPAGE = "https://pypi.org/project/simpleeval/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENCE;md5=aed013161b2a0bfa75e69eeb4e8a89e7"
SRC_URI[sha256sum] = "1e10e5f9fec597814444e20c0892ed15162fa214c8a88f434b5b077cf2fef85b"
CVE_PRODUCT = "danthedeckie:simpleeval"
inherit pypi python_hatchling ptest-python-pytest
BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN} += " \
python3-math \
"
do_install_ptest:append() {
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
}