summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb
diff options
context:
space:
mode:
authorjmbills <42755197+jmbills@users.noreply.github.com>2020-12-11 03:09:43 +0300
committerGitHub <noreply@github.com>2020-12-11 03:09:43 +0300
commit927779daa9378920171196b7abfe94cc530655c3 (patch)
tree9c8f1ad262a2e281f20340cf8646aca6f8596044 /meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb
parentc16fb8893b19075db4bcf3b5bf33c1db8c3ca2bd (diff)
parent82dbc15a05125a812c140a3c8cff81c366482229 (diff)
downloadopenbmc-927779daa9378920171196b7abfe94cc530655c3.tar.xz
Merge pull request #56 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.0.bb
new file mode 100644
index 000000000..d744738a2
--- /dev/null
+++ b/meta-openembedded/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/
+}