From e9e823d1a03eec5874346ed0c87e29c376195476 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 19 Jun 2020 12:46:38 +0300 Subject: python3-msgpack: Upgrade 0.6.2 -> 1.0.0 Upgrade to release 1.0.0: - Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2. - Remove encoding option from the Packer and Unpacker. - Unpacker: The default value of max_buffer_type is changed to 100MiB. - Unpacker: strict_map_key is True by default now. - Unpacker: String map keys are interned. - Drop old buffer protocol support. - Support Timestamp type. - Support serializing and decerializing datetime object with tzinfo. - Unpacker: Fix Unpacker.read_bytes() in fallback implementation. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-msgpack_1.0.0.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb new file mode 100644 index 0000000000..d744738a2f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "MessagePack (de)serializer" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" + +PYPI_PACKAGE = "msgpack" +inherit pypi setuptools3 ptest + +SRC_URI[md5sum] = "c35ee8f991dad3969884e9585e56ebba" +SRC_URI[sha256sum] = "9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-io \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} -- cgit v1.2.3-54-g00ecf