diff mbox series

[meta-python,5/5] python3-serpent: update recipe to use the ptest-python-pytest class

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

Commit Message

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
index 9265081fd..f6c7b5443 100644
--- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
+++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb
@@ -4,25 +4,15 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263"
 
 SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095"
 
-inherit pypi ptest setuptools3
+inherit pypi ptest-python-pytest setuptools3
 
-SRC_URI += " \
-    file://run-ptest \
-"
 # python3-misc for timeit.py
 RDEPENDS:${PN}-ptest += " \
     python3-attrs \
     python3-misc \
-    python3-pytest \
     python3-pytz \
-    python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN} += "\
     python3-netclient \
     python3-numbers \