mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
python3-execnet: 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
|
|
||||||
@@ -11,21 +11,11 @@ DEPENDS += "\
|
|||||||
python3-hatch-vcs-native \
|
python3-hatch-vcs-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI += "file://run-ptest \
|
|
||||||
"
|
|
||||||
SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"
|
SRC_URI[sha256sum] = "5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"
|
||||||
|
|
||||||
inherit ptest pypi python_hatchling
|
inherit ptest-python-pytest pypi python_hatchling
|
||||||
|
|
||||||
do_install_ptest() {
|
PTEST_PYTEST_DIR = "testing"
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/testing/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += "\
|
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"
|
RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user