python3-inotify: 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:33 +00:00 committed by Khem Raj
parent 217c9d3d1d
commit dc2c314826
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1 additions and 15 deletions

View File

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

View File

@ -8,26 +8,15 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6
SRC_URI = " \ SRC_URI = " \
git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \ git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \
file://new-test-inotify.patch \ file://new-test-inotify.patch \
file://run-ptest \
" "
SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f" SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit setuptools3 ptest inherit setuptools3 ptest-python-pytest
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
python3-ctypes \ python3-ctypes \
python3-logging \ python3-logging \
" "
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/
}