summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb b/meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb
new file mode 100644
index 0000000000..1a8c369879
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-orjson_3.10.18.bb
@@ -0,0 +1,20 @@
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] = "e8da3947d92123eda795b68228cafe2724815621fe35e8e320a9e9593a4bcd53"
7
8require ${BPN}-crates.inc
9
10inherit pypi python_maturin cargo-update-recipe-crates
11
12DEPENDS = "python3-maturin-native"
13
14RDEPENDS:${PN} += "python3-maturin python3-mypy"
15
16do_compile:prepend() {
17 sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml
18}
19
20BBCLASSEXTEND = "native nativesdk"