mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-11 15:11:26 +00:00
The default python:orjson CPE fails to match related CVEs, because NVD tracks them using ijl:orjson CPE. Set CVE_PRODUCT accordingly. See CVE db query: sqlite> select * from products where product like '%orjson%'; CVE-2024-27454|ijl|orjson|||3.9.15|< Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 lines
595 B
BlitzBasic
23 lines
595 B
BlitzBasic
SUMMARY = "orjson is a fast, correct JSON library for Python"
|
|
HOMEPAGE = "https://pypi.org/project/orjson/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"
|
|
|
|
SRC_URI[sha256sum] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b"
|
|
|
|
CVE_PRODUCT = "orjson"
|
|
|
|
require ${BPN}-crates.inc
|
|
|
|
inherit pypi python_maturin cargo-update-recipe-crates
|
|
|
|
DEPENDS = "python3-maturin-native"
|
|
|
|
RDEPENDS:${PN} += "python3-maturin python3-mypy"
|
|
|
|
do_compile:prepend() {
|
|
sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|