mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-12 03:24:08 +00:00
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>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user