From dc556825e9d9d1dc2cde729792fc84091f8d3fe8 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 17 Jan 2025 18:59:41 +0000 Subject: python3-pytoml: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pytoml_0.1.21.bb | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index 49390df83d..15dc2f2c44 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -BBCLASSEXTEND = "native nativesdk" +PTEST_PYTEST_DIR = "test" -SRC_URI += " \ - file://run-ptest \ -" +BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += " \ python3-datetime \ python3-stringold \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} -- cgit v1.2.3-54-g00ecf