summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb
new file mode 100644
index 0000000000..e26ca77d91
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb
@@ -0,0 +1,26 @@
1SUMMARY = "orjson is a fast, correct JSON library for Python"
2HOMEPAGE = "https://pypi.org/project/orjson/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"
5
6SRC_URI[sha256sum] = "0a54c72259f35299fd033042367df781c2f66d10252955ca1efb7db309b954cb"
7
8CVE_PRODUCT = "orjson"
9
10require ${BPN}-crates.inc
11
12inherit pypi python_maturin cargo-update-recipe-crates
13
14SRC_URI += " \
15 file://0001-Guard-avx512-module-with-x86-target-cfg.patch \
16 file://0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch \
17"
18DEPENDS = "python3-maturin-native"
19
20RDEPENDS:${PN} += "python3-maturin python3-mypy"
21
22do_compile:prepend() {
23 sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml
24}
25
26BBCLASSEXTEND = "native nativesdk"