mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-17 15:20:32 +00:00
python3-msgpack: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest
|
||||
@@ -3,7 +3,7 @@ LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
|
||||
|
||||
PYPI_PACKAGE = "msgpack"
|
||||
inherit pypi setuptools3
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
SRC_URI[md5sum] = "ba46fdee995565f40e332bd7eea882f1"
|
||||
SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830"
|
||||
@@ -13,3 +13,16 @@ RDEPENDS_${PN}_class-target += "\
|
||||
"
|
||||
|
||||
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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user