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

diff --git a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest 
b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb 
b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb
index 019781d51..cf211972d 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb
@@ -9,7 +9,7 @@ HOMEPAGE = "https://github.com/samuelcolvin/pydantic";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6"
 
-inherit pypi python_hatchling
+inherit pypi python_hatchling ptest-python-pytest
 
 SRC_URI[sha256sum] = 
"278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff" 
 
@@ -35,8 +35,6 @@ RDEPENDS:${PN} += "\
     python3-zoneinfo \
 "
 
-inherit ptest
-SRC_URI += "file://run-ptest"
 RDEPENDS:${PN}-ptest += "\
     python3-ansi2html \
     python3-coverage \
@@ -50,17 +48,15 @@ RDEPENDS:${PN}-ptest += "\
     python3-mypy \
     python3-packaging \
     python3-pydoc \
-    python3-pytest \
     python3-pytest-codspeed \
     python3-pytest-mock \
     python3-pytz \
     python3-rich \
     python3-sqlalchemy \
-    python3-unittest-automake-output \
     python3-unixadmin \
 "
 
-do_install_ptest() {
+do_install_ptest:append() {
     cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
     # Requires 'ruff' (python3-ruff) which we cannot build
     # until we have Rust 1.71+ in oe-core
-- 
2.34.1

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

Reply via email to