diff mbox series

[meta-python,1/3] python3-tomlkit: update recipe to use the ptest-python-pytest class

Message ID 20250110205729.4088028-1-derek@asterius.io
State Accepted
Headers show
Series [meta-python,1/3] python3-tomlkit: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 10, 2025, 8:57 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-tomlkit/run-ptest                |  3 ---
 .../python/python3-tomlkit_0.13.2.bb                | 13 +------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb
index 9fca14540..8eeb9d760 100644
--- a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb
+++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb
@@ -5,11 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82"
 
 SRC_URI[sha256sum] = "fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79"
 
-inherit pypi python_poetry_core ptest
-
-SRC_URI += " \
-        file://run-ptest \
-"
+inherit pypi python_poetry_core ptest-python-pytest
 
 RDEPENDS:${PN} += " \
     python3-datetime \
@@ -19,14 +15,7 @@  RDEPENDS:${PN} += " \
 
 RDEPENDS:${PN}-ptest += " \
     python3-poetry-core \
-    python3-pytest \
     python3-pyyaml \
-    python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-        install -d ${D}${PTEST_PATH}/tests
-        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 BBCLASSEXTEND = "native nativesdk"