From 72f818933ee1396656801476fab8781e9ba8ff27 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 24 Aug 2021 11:18:14 +0300 Subject: python3-simplejson: Upgrade 3.17.4 -> 3.17.5 Upgrade to release 3.17.5: - Fix the C extension module to harden is_namedtuple against looks-a-likes such as Mocks. Also prevent dict encoding from causing an unraised SystemError when encountering a non-Dict. Noticed by running user tests against a CPython interpreter with C asserts enabled (COPTS += -UNDEBUG). Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-simplejson_3.17.4.bb | 24 ---------------------- .../python/python3-simplejson_3.17.5.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simplejson_3.17.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-simplejson_3.17.5.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-simplejson_3.17.4.bb b/meta-python/recipes-devtools/python/python3-simplejson_3.17.4.bb deleted file mode 100644 index e50aac67a9..0000000000 --- a/meta-python/recipes-devtools/python/python3-simplejson_3.17.4.bb +++ /dev/null @@ -1,24 +0,0 @@ -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] = "2af85e028714c4b6cb2eb6fc03aa91f39ffd654f2eb2f6f8f860e14aeefa6be1" - -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" diff --git a/meta-python/recipes-devtools/python/python3-simplejson_3.17.5.bb b/meta-python/recipes-devtools/python/python3-simplejson_3.17.5.bb new file mode 100644 index 0000000000..7c92761c40 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simplejson_3.17.5.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] = "91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50" + +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 1.2.3-korg