mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-ptyprocess: 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
57d6a4ea1f
commit
569cffbd06
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -9,7 +9,7 @@ SRCNAME = "ptyprocess"
|
|||
SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
|
||||
SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
|
||||
|
||||
inherit pypi python_flit_core
|
||||
inherit pypi python_flit_core ptest-python-pytest
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
|
|
@ -22,22 +22,10 @@ RDEPENDS:${PN} = "\
|
|||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
inherit ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
bash \
|
||||
python3-fcntl \
|
||||
python3-pytest \
|
||||
python3-resource \
|
||||
python3-terminal \
|
||||
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