Files
meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb
T
Devansh Patel 7a393253ec python3-ujson: add CVE_PRODUCT mapping
The current inherited "python:ujson" mapping does not match the UltraJSON identities used by NVD and CVE List V5, so source-aligned CVEs are missed.

Use "ultrajson:ultrajson" for the CNA affected-data identity and "ultrajson_project:ultrajson" for the NVD dictionary CPE and configuration identity.

Signed-off-by: Devansh Patel <devanshp@cisco.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-24 12:14:08 -07:00

30 lines
815 B
BlitzBasic

SUMMARY = "Ultra fast JSON encoder and decoder for Python"
DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3."
LICENSE = "BSD-3-Clause AND TCL"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87"
SRC_URI[sha256sum] = "d62e3d7625384c08082abad81a077af587fdef2761bb14c3822f4234b8d07d75"
CVE_PRODUCT = "ultrajson:ultrajson ultrajson_project:ultrajson"
inherit pypi ptest-python-pytest python_setuptools_build_meta
# let OE do the strip operation
export UJSON_BUILD_NO_STRIP = "1"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
python3-datetime \
python3-numbers \
"
RDEPENDS:${PN}-ptest += " \
python3-json \
python3-misc \
python3-pytz \
"
BBCLASSEXTEND = "native nativesdk"