From 9bcd41e7b08fbcf59f7679e05a03f911cadcafd4 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:57:27 +0000 Subject: python3-tomlkit: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-tomlkit/run-ptest | 3 --- .../recipes-devtools/python/python3-tomlkit_0.13.2.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tomlkit/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb index 9fca145407..8eeb9d7603 100644 --- a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb @@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" SRC_URI[sha256sum] = "fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79" -inherit pypi python_poetry_core ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_poetry_core ptest-python-pytest RDEPENDS:${PN} += " \ python3-datetime \ @@ -19,14 +15,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-poetry-core \ - python3-pytest \ python3-pyyaml \ - 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