diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb index 096d7ddcb..6d7e7a0dc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb @@ -1,2 +1,28 @@ -require python-msgpack.inc -inherit setuptools3 +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] = "ba46fdee995565f40e332bd7eea882f1" +SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830" + +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/ +} |