python3-execnet: 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-30 21:57:36 +00:00
committed by Khem Raj
parent b7e4a5c6c3
commit cc3942a549
2 changed files with 2 additions and 15 deletions

View File

@@ -11,21 +11,11 @@ DEPENDS += "\
python3-hatch-vcs-native \
"
SRC_URI += "file://run-ptest \
"
SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"
inherit ptest pypi python_hatchling
inherit ptest-python-pytest pypi python_hatchling
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN}-ptest += "\
python3-pytest \
python3-unittest-automake-output \
"
PTEST_PYTEST_DIR = "testing"
RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"