Signed-off-by: Derek Straka <[email protected]>
---
 .../python/python3-pyserial/run-ptest           |  4 ----
 .../python/python3-pyserial_3.5.bb              | 17 +++--------------
 2 files changed, 3 insertions(+), 18 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-pyserial/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest 
b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest
deleted file mode 100644
index b651411db..000000000
--- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb 
b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
index ade137a38..93a81568c 100644
--- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436"
 
 SRC_URI[sha256sum] = 
"3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb"
 
-inherit pypi setuptools3 ptest
+inherit pypi setuptools3 ptest-python-pytest
+
+PTEST_PYTEST_DIR = "test"
 
 do_install:append() {
     rm -f ${D}${bindir}/pyserial-miniterm
@@ -49,16 +51,3 @@ RDEPENDS:${PN} = "\
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI += " \
-       file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-       install -d ${D}${PTEST_PATH}/test
-       cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
-}
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114931): 
https://lists.openembedded.org/g/openembedded-devel/message/114931
Mute This Topic: https://lists.openembedded.org/mt/110672139/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to