diff mbox series

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

Message ID 20250131013935.3714521-6-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-blinker/run-ptest               |  3 ---
 .../python/python3-blinker_1.9.0.bb                | 14 +-------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-blinker/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-blinker/run-ptest b/meta-python/recipes-devtools/python/python3-blinker/run-ptest
deleted file mode 100644
index 69cd362f69..0000000000
--- a/meta-python/recipes-devtools/python/python3-blinker/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh 
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb
index 33263ce6b3..2ee8133fbb 100644
--- a/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-blinker_1.9.0.bb
@@ -4,20 +4,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=42cd19c88fc13d1307a4efd64ee90e4e"
 
 SRC_URI[sha256sum] = "b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"
 
-inherit pypi python_setuptools_build_meta ptest
-
-SRC_URI += "file://run-ptest"
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 RDEPENDS:${PN} += "\
         python3-asyncio \
 "
-
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}