python3-tomlkit: 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:57:27 +00:00
committed by Khem Raj
parent 5f737ede0e
commit 9bcd41e7b0
2 changed files with 1 additions and 15 deletions

View File

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

View File

@@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82"
SRC_URI[sha256sum] = "fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"
inherit pypi python_poetry_core ptest
SRC_URI += " \
file://run-ptest \
"
inherit pypi python_poetry_core ptest-python-pytest
RDEPENDS:${PN} += " \
python3-datetime \
@@ -19,14 +15,7 @@ RDEPENDS:${PN} += " \
RDEPENDS:${PN}-ptest += " \
python3-poetry-core \
python3-pytest \
python3-pyyaml \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"