From 812eaf1612dbbddbbeca3eebbc479f56b0251ecf Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 12 Dec 2022 15:37:13 +0800 Subject: python3-cbor2: upgrade 5.4.5 -> 5.4.6 Changelog: Fix MemoryError when decoding Tags on 32bit architecture. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-cbor2_5.4.6.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb (limited to 'meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb') diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb new file mode 100644 index 0000000000..19d6cbf444 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." +DEPENDS +="${PYTHON_PN}-setuptools-scm-native" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI[sha256sum] = "b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7" + +inherit pypi python_setuptools_build_meta ptest + +DEPENDS += "python3-setuptools-scm-native" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf