Signed-off-by: Derek Straka <[email protected]>
---
 .../recipes-devtools/python/python3-pillow/run-ptest |  3 ---
 .../recipes-devtools/python/python3-pillow_11.1.0.bb | 12 +++---------
 2 files changed, 3 insertions(+), 12 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pillow/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest 
b/meta-python/recipes-devtools/python/python3-pillow/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-pillow/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb 
b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb
index 7be15f3f9..f8341c90f 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_11.1.0.bb
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=a1b708da743e3fc0e5c35e92daac0bf8"
 
 SRC_URI = 
"git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
            file://0001-support-cross-compiling.patch \
-           file://run-ptest \
            "
 SRCREV = "4c1aed801e43c6b307e7135279ca1dbc02bbf052"
 
-inherit python_setuptools_build_meta ptest
+inherit python_setuptools_build_meta ptest-python-pytest
+
+PTEST_PYTEST_DIR = "Tests"
 
 PEP517_BUILD_OPTS += " \
     -C platform-guessing=disable \
@@ -51,10 +52,8 @@ RDEPENDS:${PN}-ptest += " \
     python3-core \
     python3-image \
     python3-mmap \
-    python3-pytest \
     python3-pytest-timeout \
     python3-resource \
-    python3-unittest-automake-output \
     python3-unixadmin\
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
 "
@@ -65,9 +64,4 @@ S = "${WORKDIR}/git"
 
 RPROVIDES:${PN} += "python3-imaging"
 
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/Tests
-    cp -rf ${S}/Tests ${D}${PTEST_PATH}/
-}
-
 BBCLASSEXTEND = "native"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114947): 
https://lists.openembedded.org/g/openembedded-devel/message/114947
Mute This Topic: https://lists.openembedded.org/mt/110675956/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to