diff options
| author | Martin Schwan <m.schwan@phytec.de> | 2025-10-23 11:46:30 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-24 09:06:24 -0700 |
| commit | ddc728ad43ccd196b11569e445b1f4310bc50882 (patch) | |
| tree | 5aa05aee5ddd7a91815009d105254af338d07b29 /meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb | |
| parent | 824ccc8845d9014eda2b98a9003c435437126259 (diff) | |
| download | meta-openembedded-ddc728ad43ccd196b11569e445b1f4310bc50882.tar.gz | |
python3-orjson: Add recipe
orjson is a fast, correct JSON library for Python.
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb b/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb new file mode 100644 index 0000000000..7db76c9415 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson_3.10.17.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] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b" | ||
| 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" | ||
