diff mbox series

[meta-python,04/11] python3-aspectlib: update recipe to use the ptest-python-pytest class

Message ID 20250131013935.3714521-4-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/11] python3-dasbus: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 31, 2025, 1:39 a.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-aspectlib/run-ptest               |  3 ---
 .../python/python3-aspectlib_2.0.0.bb                | 12 +-----------
 2 files changed, 1 insertion(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-aspectlib/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest b/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-aspectlib/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
index 1341513289..854a14441c 100644
--- a/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-aspectlib_2.0.0.bb
@@ -10,21 +10,11 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=80721ace117fd1f814049ecb81c6be76"
 
 SRC_URI[sha256sum] = "a4b461b9da0b531aebcb93efcde3de808a72c60226dd8d902c467d13faf7ce92"
 
-inherit ptest pypi setuptools3
-
-SRC_URI += "file://run-ptest \
-           "
-
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
+inherit ptest-python-pytest pypi setuptools3
 
 RDEPENDS:${PN}-ptest += "\
     python3-process-tests \
-    python3-pytest \
     python3-tornado \
-    python3-unittest-automake-output \
 "
 
 RDEPENDS:${PN} += " \