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:
Derek Straka 2025-01-10 20:08:19 +00:00 committed by Khem Raj
parent 5ce36c94b7
commit 9d3ffd74b9
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 2 additions and 14 deletions

View File

@ -1,3 +0,0 @@
#!/bin/sh
pytest --automake

View File

@ -5,18 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306"
SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a"
inherit pypi setuptools3 ptest
inherit pypi setuptools3 ptest-python-pytest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
do_install_ptest:append() {
cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/
}