python3-pyyaml-include: 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 18:59:40 +00:00
committed by Khem Raj
parent 6b0ad8899c
commit aa223d4dba
2 changed files with 1 additions and 12 deletions

View File

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

View File

@@ -7,17 +7,11 @@ SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d"
SRC_URI = " \
git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \
file://run-ptest \
"
S = "${WORKDIR}/git"
inherit python_setuptools_build_meta ptest
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
inherit python_setuptools_build_meta ptest-python-pytest
RDEPENDS:${PN} += " \
python3-pyyaml \
@@ -27,7 +21,5 @@ RDEPENDS:${PN}-ptest += " \
python3-fsspec \
python3-aiohttp \
python3-requests \
python3-pytest \
python3-unittest-automake-output \
"
BBCLASSEXTEND = "native nativesdk"