meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.0.7.bb
Derek Straka 9d8bbcc40d
python3-msgpack: re-add functional ptests
Verified tests pass with via the test image execution
(bitbake meta-python-image-ptest-python3-msgpack -c testimage)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-21 20:00:22 -08:00

28 lines
572 B
BlitzBasic

SUMMARY = "MessagePack (de)serializer"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
inherit pypi setuptools3 ptest
SRC_URI[sha256sum] = "572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87"
RDEPENDS:${PN}:class-target += "\
python3-io \
"
BBCLASSEXTEND = "native nativesdk"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/test
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
}