summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-17 20:30:26 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-17 16:39:41 -0800
commit569cffbd06357bc1307dd9032838c5ca6c4d234e (patch)
tree90776d70371a00ffdf12023976b5fc9361eef3cc
parent57d6a4ea1f7db943e08f535a0e559873ece01692 (diff)
downloadmeta-openembedded-569cffbd06357bc1307dd9032838c5ca6c4d234e.tar.gz
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>
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb14
2 files changed, 1 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 12f10d8240..e63c2c50b7 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
@@ -9,7 +9,7 @@ SRCNAME = "ptyprocess"
9SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch" 9SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
10SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" 10SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
11 11
12inherit pypi python_flit_core 12inherit pypi python_flit_core ptest-python-pytest
13 13
14S = "${WORKDIR}/${SRCNAME}-${PV}" 14S = "${WORKDIR}/${SRCNAME}-${PV}"
15 15
@@ -22,22 +22,10 @@ RDEPENDS:${PN} = "\
22 22
23BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
24 24
25inherit ptest
26
27SRC_URI += " \
28 file://run-ptest \
29"
30
31RDEPENDS:${PN}-ptest += " \ 25RDEPENDS:${PN}-ptest += " \
32 bash \ 26 bash \
33 python3-fcntl \ 27 python3-fcntl \
34 python3-pytest \
35 python3-resource \ 28 python3-resource \
36 python3-terminal \ 29 python3-terminal \
37 python3-unittest-automake-output \
38" 30"
39 31
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/tests
42 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
43}