diff mbox series

[meta-python,03/13] python3-xlrd: update recipe to use the ptest-python-pytest class

Message ID 20250110200822.3958062-3-derek@asterius.io
State New
Headers show
Series [meta-python,01/13] python3-yarl: update recipe to use the ptest-python-pytest class | expand

Commit Message

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
index aedf483be..5c572c615 100644
--- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
@@ -10,13 +10,12 @@  SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27
 
 
 SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \
-           file://run-ptest \
 "
 SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
 
 S = "${WORKDIR}/git"
 
-inherit ptest setuptools3
+inherit ptest-python-pytest setuptools3
 
 RDEPENDS:${PN} += " \
     python3-compression \
@@ -31,9 +30,4 @@  RDEPENDS:${PN}-ptest += " \
     python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 BBCLASSEXTEND = "native nativesdk"