summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb
new file mode 100644
index 0000000000..8f8c6e23d4
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.12.1.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Ultra fast JSON encoder and decoder for Python"
+DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3."
+
+LICENSE = "BSD-3-Clause & TCL"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87"
+
+SRC_URI[sha256sum] = "5b7e96406c301a1366534479a7352ec40ec68bb327c0c119091635acd5925e35"
+
+inherit pypi ptest-python-pytest python_setuptools_build_meta
+
+# let OE do the strip operation
+export UJSON_BUILD_NO_STRIP = "1"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += "\
+ python3-datetime \
+ python3-numbers \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-json \
+ python3-misc \
+ python3-pytz \
+"
+
+BBCLASSEXTEND = "native nativesdk"