python3-aspectlib: 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-31 01:39:28 +00:00 committed by Khem Raj
parent ac5c6a157c
commit 96c9661005
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1 additions and 14 deletions

View File

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

View File

@ -10,21 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
inherit ptest pypi setuptools3
SRC_URI += "file://run-ptest \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
inherit ptest-python-pytest pypi setuptools3
RDEPENDS:${PN}-ptest += "\
python3-process-tests \
python3-pytest \
python3-tornado \
python3-unittest-automake-output \
"
RDEPENDS:${PN} += " \