From 00e8511b0d5f68a6bd0761e3bde839bb5d34662c Mon Sep 17 00:00:00 2001 From: "zhengrq.fnst@fujitsu.com" Date: Wed, 23 Nov 2022 14:54:00 +0800 Subject: python3-simplejson: upgrade 3.17.6 -> 3.18.0 Changelog: ========== * Allow serialization of classes that implement for_json or _asdict by ignoring TypeError when those methods are called https://github.com/simplejson/simplejson/pull/302 * Raise JSONDecodeError instead of ValueError in invalid unicode escape sequence edge case https://github.com/simplejson/simplejson/pull/298 Signed-off-by: Zheng Ruoqin Signed-off-by: Khem Raj --- .../python/python3-simplejson_3.18.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb (limited to 'meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb b/meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb new file mode 100644 index 0000000000..ccdd4ddbae --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simplejson_3.18.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" + +SRC_URI[sha256sum] = "58a429d2c2fa80834115b923ff689622de8f214cf0dc4afa9f59e824b444ab31" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-numbers \ +" + +PACKAGES =+ "${PN}-tests" +RDEPENDS:${PN}-tests = "${PN} ${PYTHON_PN}-unittest" +FILES:${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf