summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb11
1 files changed, 2 insertions, 9 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb
index 4537645c73..b4dc82bfb3 100644
--- a/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb
+++ b/meta-openembedded/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}/
}