diff mbox series

[meta-python,01/10] python3-semver: update recipe to use the ptest-python-pytest class

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

Commit Message

Derek Straka Jan. 17, 2025, 6:59 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-semver/run-ptest                |  3 ---
 .../python/python3-semver_3.0.2.bb                 | 14 +-------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-semver/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-python/recipes-devtools/python/python3-semver/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-semver/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
index 25222bb5f..b329d65e1 100644
--- a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb
@@ -6,21 +6,9 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98"
 
 SRC_URI[sha256sum] = "6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI += " \
-        file://run-ptest \
-"
-
 DEPENDS += " python3-setuptools-scm-native"
 
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-        cp -rf ${S}/tests ${D}${PTEST_PATH}/
-}