python3-polyline: 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-17 22:58:59 +00:00
committed by Khem Raj
parent 9e3ab586bd
commit af7d47dd2c
2 changed files with 1 additions and 17 deletions

View File

@@ -5,22 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1fb8d1dc685695195bb3c1e48adfef48"
SRC_URI[sha256sum] = "10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369"
inherit pypi python_setuptools_build_meta ptest
inherit pypi python_setuptools_build_meta ptest-python-pytest
RDEPENDS:${PN} += "python3-six"
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}/tests/* ${D}${PTEST_PATH}/test/
}