mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 16:59:59 +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:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -9,7 +9,7 @@ SRCNAME = "ptyprocess"
|
|||||||
SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
|
SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
|
||||||
SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
|
SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
|
||||||
|
|
||||||
inherit pypi python_flit_core
|
inherit pypi python_flit_core ptest-python-pytest
|
||||||
|
|
||||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||||
|
|
||||||
@@ -22,22 +22,10 @@ RDEPENDS:${PN} = "\
|
|||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
inherit ptest
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
bash \
|
bash \
|
||||||
python3-fcntl \
|
python3-fcntl \
|
||||||
python3-pytest \
|
|
||||||
python3-resource \
|
python3-resource \
|
||||||
python3-terminal \
|
python3-terminal \
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user