python3-blinker: 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:30 +00:00
committed by Khem Raj
parent 00cb259fbd
commit 18bd0aade7
2 changed files with 1 additions and 16 deletions

View File

@@ -4,20 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e"
SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += "file://run-ptest"
inherit pypi python_setuptools_build_meta ptest-python-pytest
RDEPENDS:${PN} += "\
python3-asyncio \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}