From af70edb33aa1d31afea32231cd7802d83e2f868f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 22:31:31 +0000 Subject: python3-simpleeval: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-simpleeval/run-ptest | 3 --- .../recipes-devtools/python/python3-simpleeval_1.0.3.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval/run-ptest (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb index 4537645c73..b4dc82bfb3 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb @@ -5,21 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" SRC_URI[sha256sum] = "67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829" -inherit pypi python_setuptools_build_meta python_hatchling ptest +inherit pypi python_setuptools_build_meta python_hatchling ptest-python-pytest BBCLASSEXTEND = "native nativesdk" -SRC_URI += "file://run-ptest" - RDEPENDS:${PN} += " \ python3-math \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append() { cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ } -- cgit v1.2.3-54-g00ecf