meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.6.0.bb
Zang Ruochen 82a485c611 python3-u-msgpack-python: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-03 18:07:12 -07:00

27 lines
587 B
BlitzBasic

DESCRIPTION = "A portable, lightweight MessagePack serializer and deserializer written in pure Python."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9eb4691bcb66360acee473a8cf75f594"
SRC_URI[sha256sum] = "754edb07eaee39a9686a99823892e3a1be4e0948d9cc5c717946750c27643c9c"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS_${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_install_ptest() {
cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/
}
RDEPENDS_${PN} += " \
${PYTHON_PN}-datetime \
"
BBCLASSEXTEND = "native nativesdk"