diff mbox series

[meta-python,10/13] python3-u-msgpack-python: update recipe to use the ptest-python-pytest class

Message ID 20250110200822.3958062-10-derek@asterius.io
State New
Headers show
Series [meta-python,01/13] python3-yarl: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 10, 2025, 8:08 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-u-msgpack-python/run-ptest       |  3 ---
 .../python/python3-u-msgpack-python_2.8.0.bb        | 13 ++-----------
 2 files changed, 2 insertions(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest b/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-u-msgpack-python/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
index 6cde243fe..e95e4bbfb 100644
--- a/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb
@@ -5,18 +5,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=17df11353545c53a2df0ce7655859306"
 
 SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda520bc61a"
 
-inherit pypi setuptools3 ptest
+inherit pypi setuptools3 ptest-python-pytest
 
-SRC_URI += " \
-        file://run-ptest \
-"
-
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
+do_install_ptest:append() {
        cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/
 }