From fa1ebe8c8072ada4f418625d8b2a35b21f5400af Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 22:31:34 +0000 Subject: python3-serpent: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-serpent/run-ptest | 3 --- meta-python/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 (limited to 'meta-python') 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 8d2017d39c..0000000000 --- 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 9265081fd0..f6c7b5443b 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 \ -- cgit v1.2.3-54-g00ecf