summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2022-12-12 15:37:13 +0800
committerKhem Raj <raj.khem@gmail.com>2022-12-12 11:17:23 -0800
commit812eaf1612dbbddbbeca3eebbc479f56b0251ecf (patch)
tree63e7ad19d290202eac096e13b25725586683d3f7 /meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb
parent2382a96da85c0a2a31ced614fdf11104e1f53886 (diff)
downloadmeta-openembedded-812eaf1612dbbddbbeca3eebbc479f56b0251ecf.tar.gz
python3-cbor2: upgrade 5.4.5 -> 5.4.6
Changelog: Fix MemoryError when decoding Tags on 32bit architecture. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb31
1 files changed, 31 insertions, 0 deletions
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 000000000..19d6cbf44
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cbor2_5.4.6.bb
@@ -0,0 +1,31 @@
1DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)."
2DEPENDS +="${PYTHON_PN}-setuptools-scm-native"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
6
7SRC_URI[sha256sum] = "b893500db0fe033e570c3adc956af6eefc57e280026bd2d86fd53da9f1e594d7"
8
9inherit pypi python_setuptools_build_meta ptest
10
11DEPENDS += "python3-setuptools-scm-native"
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 ${PYTHON_PN}-pytest \
19 ${PYTHON_PN}-unixadmin \
20"
21
22do_install_ptest() {
23 install -d ${D}${PTEST_PATH}/tests
24 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
25}
26
27RDEPENDS:${PN} += " \
28 ${PYTHON_PN}-datetime \
29"
30
31BBCLASSEXTEND = "native nativesdk"