meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.5.bb
Leon Anavi 72f818933e 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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-25 08:15:33 -07:00

25 lines
683 B
BlitzBasic

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"