summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-19 12:46:38 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-22 08:38:31 -0700
commite9e823d1a03eec5874346ed0c87e29c376195476 (patch)
tree3feff70f891e914efa4c013fc7f29742eac37405 /meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb
parent14c793a8453c193cc7b968477a503cfa9e39be5a (diff)
downloadmeta-openembedded-e9e823d1a03eec5874346ed0c87e29c376195476.tar.gz
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 <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb28
1 files changed, 28 insertions, 0 deletions
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 @@
1SUMMARY = "MessagePack (de)serializer"
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
4
5PYPI_PACKAGE = "msgpack"
6inherit pypi setuptools3 ptest
7
8SRC_URI[md5sum] = "c35ee8f991dad3969884e9585e56ebba"
9SRC_URI[sha256sum] = "9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0"
10
11RDEPENDS_${PN}_class-target += "\
12 ${PYTHON_PN}-io \
13"
14
15BBCLASSEXTEND = "native nativesdk"
16
17SRC_URI += " \
18 file://run-ptest \
19"
20
21RDEPENDS_${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/test
27 cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
28}