From 63cf96b31cb2e7d14a164b3478141d021da85a70 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:12 +0000 Subject: python3-xlrd: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/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 (limited to 'meta-python') 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 8d2017d39c..0000000000 --- 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 aedf483bef..5c572c615b 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" -- cgit v1.2.3-54-g00ecf