From 90dcf3ce894b254555325b5cbaf6fd6fd231a9d2 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 22 Jan 2021 12:11:22 +0200 Subject: python3-ujson: Upgrade 4.0.1 -> 4.0.2 Upgrade to release 4.0.2: - Travis CI: Test on 3.9 final, remove 3.8 - Toward matching Python standard library output for float - Fix errors on reading long decimal floats - Make empty dict/list indented serialization match stdlib json - Fix dealing with None types Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-ujson_4.0.2.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb b/meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb new file mode 100644 index 0000000000..d79206fe68 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb @@ -0,0 +1,31 @@ +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" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=10fa10456417c0252bcb8a498e498ffe" + +SRC_URI[sha256sum] = "c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ +" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytz \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf