From 3eee9c0f509be55c53477ffd3c2567028e9a576c Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 17 Jan 2025 18:59:43 +0000 Subject: python3-pytest-localserver: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-pytest-localserver/run-ptest | 3 --- .../python/python3-pytest-localserver_0.8.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index 669817829d..e9500bd3db 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb @@ -5,25 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8da7a541d738b054dcbf70c31530432" DEPENDS += "python3-setuptools-scm-native" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-requests \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-werkzeug \ " -- cgit v1.2.3-54-g00ecf