From d5f55bc60813704ab22287c347253fda48495335 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Thu, 1 Jun 2017 09:42:49 -0700 Subject: python-msgpack: Add support for python3 Extend recipe to support python3 Signed-off-by: Moritz Fischer Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-msgpack.inc | 9 +++++++++ meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb | 11 ++--------- meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb | 2 ++ 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-msgpack.inc create mode 100644 meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-msgpack.inc b/meta-python/recipes-devtools/python/python-msgpack.inc new file mode 100644 index 000000000..228ce5925 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-msgpack.inc @@ -0,0 +1,9 @@ +SUMMARY = "MessagePack (de)serializer" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" + +SRC_URI[md5sum] = "dcd854fb41ee7584ebbf35e049e6be98" +SRC_URI[sha256sum] = "1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886" + +PYPI_PACKAGE = "msgpack-python" +inherit pypi diff --git a/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb b/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb index 8a0ad8f88..2c2c8f2ad 100644 --- a/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb +++ b/meta-python/recipes-devtools/python/python-msgpack_0.4.8.bb @@ -1,9 +1,2 @@ -SUMMARY = "MessagePack (de)serializer" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" - -SRC_URI[md5sum] = "dcd854fb41ee7584ebbf35e049e6be98" -SRC_URI[sha256sum] = "1a2b19df0f03519ec7f19f826afb935b202d8979b0856c6fb3dc28955799f886" - -PYPI_PACKAGE = "msgpack-python" -inherit pypi setuptools +require python-msgpack.inc +inherit setuptools diff --git a/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb b/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb new file mode 100644 index 000000000..096d7ddcb --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-msgpack_0.4.8.bb @@ -0,0 +1,2 @@ +require python-msgpack.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf