diff mbox series

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

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

Commit Message

Derek Straka Jan. 30, 2025, 9:57 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-inflection/run-ptest             |  4 ----
 .../python/python3-inflection_0.5.1.bb              | 13 ++-----------
 2 files changed, 2 insertions(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-inflection/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-inflection/run-ptest b/meta-python/recipes-devtools/python/python3-inflection/run-ptest
deleted file mode 100644
index f1c8729f0e..0000000000
--- a/meta-python/recipes-devtools/python/python3-inflection/run-ptest
+++ /dev/null
@@ -1,4 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
-
diff --git a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
index ba1d0ec539..368b9e49b7 100644
--- a/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python3-inflection_0.5.1.bb
@@ -6,18 +6,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=2fb6fa1a6f1792d78de19ad1bb653c31"
 
 SRC_URI[sha256sum] = "1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417"
 
-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_inflection.py ${D}${PTEST_PATH}/
 }