python3-cbor2: upgrade 5.5.1 -> 5.6.0

Changelog:
  https://cbor2.readthedocs.io/en/latest/versionhistory.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-01-23 09:39:21 +08:00
committed by Khem Raj
parent fa0393d5cb
commit 2ae55ae7e0

View File

@@ -0,0 +1,32 @@
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] = "9d94e2226f8f5792fdba5ab20e07b9bfe02e76c10c3ca126418cd4310439d002"
inherit pypi python_setuptools_build_meta ptest
DEPENDS += "python3-setuptools-scm-native"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-hypothesis \
${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"