diff mbox series

[meta-python,09/10] python3-pytest-localserver: update recipe to use the ptest-python-pytest class

Message ID 20250117185944.3434424-9-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/10] python3-semver: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 17, 2025, 6:59 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../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
diff mbox series

Patch

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 8d2017d39..000000000
--- 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 669817829..e9500bd3d 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 \
 "