mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 23:48:20 +00:00
python3-u-msgpack-python: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -5,18 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a"
|
SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a"
|
||||||
|
|
||||||
inherit pypi setuptools3 ptest
|
inherit pypi setuptools3 ptest-python-pytest
|
||||||
|
|
||||||
SRC_URI += " \
|
do_install_ptest:append() {
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/
|
cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user