summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2021-03-26 01:28:45 +0300
committerJason M. Bills <jason.m.bills@linux.intel.com>2021-03-26 01:28:45 +0300
commit0a1ece0568a37de9f17fd6e0bcdfd2cad2c6503f (patch)
treeb985c9ca29cb3cf19b04e248c868fa18abf07dcc /meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb
parent0cfc19e6565d8e3a1aa563c59edb347f9128026f (diff)
parent983ec41074988cf15d98bf8c929efee125682eeb (diff)
downloadopenbmc-0a1ece0568a37de9f17fd6e0bcdfd2cad2c6503f.tar.xz
Merge tag '0.43' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb
new file mode 100644
index 000000000..989a7ae3f
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.2.bb
@@ -0,0 +1,27 @@
+SUMMARY = "MessagePack (de)serializer"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
+
+PYPI_PACKAGE = "msgpack"
+inherit pypi setuptools3 ptest
+
+SRC_URI[sha256sum] = "fae04496f5bc150eefad4e9571d1a76c55d021325dcd484ce45065ebbdd00984"
+
+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/
+}