python3-serpent: 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 22:31:34 +00:00
committed by Khem Raj
parent 5b40bae867
commit fa1ebe8c80
2 changed files with 1 additions and 14 deletions

View File

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

View File

@@ -4,25 +4,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263"
SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095"
inherit pypi ptest setuptools3
inherit pypi ptest-python-pytest setuptools3
SRC_URI += " \
file://run-ptest \
"
# python3-misc for timeit.py
RDEPENDS:${PN}-ptest += " \
python3-attrs \
python3-misc \
python3-pytest \
python3-pytz \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += "\
python3-netclient \
python3-numbers \