mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
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:
parent
217c9d3d1d
commit
dc2c314826
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
|
@ -8,26 +8,15 @@ SRC_URI[sha256sum] = "974a623a338482b62e16d4eb705fb863ed33ec178680fc3e96ccdf0df6
|
|||
SRC_URI = " \
|
||||
git://github.com/dsoprea/pyinotify.git;branch=master;protocol=https \
|
||||
file://new-test-inotify.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
SRCREV = "9be6a51d1660991562eefaaddefa757ca0e0e00f"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3 ptest
|
||||
inherit setuptools3 ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-ctypes \
|
||||
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/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user