diff options
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.bb | 20 |
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 @@ | |||
| 1 | SUMMARY = "orjson is a fast, correct JSON library for Python" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/orjson/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "e8da3947d92123eda795b68228cafe2724815621fe35e8e320a9e9593a4bcd53" | ||
| 7 | |||
| 8 | require ${BPN}-crates.inc | ||
| 9 | |||
| 10 | inherit pypi python_maturin cargo-update-recipe-crates | ||
| 11 | |||
| 12 | DEPENDS = "python3-maturin-native" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += "python3-maturin python3-mypy" | ||
| 15 | |||
| 16 | do_compile:prepend() { | ||
| 17 | sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml | ||
| 18 | } | ||
| 19 | |||
| 20 | BBCLASSEXTEND = "native nativesdk" | ||
