Signed-off-by: Derek Straka <[email protected]>
---
 .../recipes-devtools/python/python3-smpplib/run-ptest |  3 ---
 .../recipes-devtools/python/python3-smpplib_2.2.3.bb  | 11 ++---------
 2 files changed, 2 insertions(+), 12 deletions(-)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-smpplib/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest 
b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb 
b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
index 7979f04c5..2fdd2a463 100644
--- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb
@@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = 
"file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852"
 PYPI_PACKAGE = "smpplib"
 SRC_URI[sha256sum] = 
"5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331"
 
-inherit pypi setuptools3 ptest
-
-SRC_URI += " \
-        file://run-ptest \
-"
+inherit pypi setuptools3 ptest-python-pytest
 
 RDEPENDS:${PN} += " \
         python3-logging \
@@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \
 RDEPENDS:${PN}-ptest += " \
     python3-mock \
     python3-profile \
-    python3-pytest \
-    python3-unittest \
-    python3-unittest-automake-output \
 "
 
-do_install_ptest() {
+do_install_ptest:append() {
         install -d ${D}${PTEST_PATH}/tests
         cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/
 }
-- 
2.34.1

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

Reply via email to