From 666908092fd2f0dc28999efdd3289b1882951b6b Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 13 Dec 2023 22:21:57 +0000 Subject: python3-ujson: update to version 5.9.0 Changelog: Breaking - Raise TypeError if toDict() returns a non-dict instead of silently converting it to null (#615) @eltoder - Use lowercase strings for bool dict keys (#614) @eltoder Changed - Speed-up and cleanup objToJSON (#615) @eltoder - Use lowercase strings for bool dict keys (#614) @eltoder Fixed - Fix typos found by codespell (#610) @DimitriPapadopoulos - Fix undefined behavior in Buffer_AppendLongUnchecked (#606) @WillAyd Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-ujson_5.9.0.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb (limited to 'meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb new file mode 100644 index 0000000000..8de9b030dd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb @@ -0,0 +1,34 @@ +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=e0039a83d8a99726b5418f0b03302d0a" + +SRC_URI[sha256sum] = "89cc92e73d5501b8a7f48575eeb14ad27156ad092c2e9fc7e3cf949f07e75532" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ + file://0001-setup.py-Do-not-strip-debugging-symbols.patch \ +" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pytest \ + ${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