diff mbox series

[meta-python,13/13] python3-trustme: update recipe to use the ptest-python-pytest class

Message ID 20250110200822.3958062-13-derek@asterius.io
State New
Headers show
Series [meta-python,01/13] python3-yarl: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 10, 2025, 8:08 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-trustme/run-ptest                |  3 ---
 .../python/python3-trustme_1.2.0.bb                 | 13 +------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-trustme/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-python/recipes-devtools/python/python3-trustme/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-trustme/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
index 69db7e618..e1974f707 100644
--- a/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.0.bb
@@ -6,11 +6,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=d5a7af1a4b73e57431e25d15a2da745a"
 
 SRC_URI[sha256sum] = "ed2264fb46c35459e6de9e454ed4bab73be44b6a2a26ad417f9b6854aebb644a"
 
-inherit pypi python_hatchling python_setuptools_build_meta ptest
-
-SRC_URI += " \
-	file://run-ptest \
-"
+inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest
 
 RDEPENDS:${PN} += " \
     python3-cryptography \
@@ -23,13 +19,6 @@  RDEPENDS:${PN}-ptest += " \
     python3-attrs \
     python3-pyopenssl \
     python3-pyasn1-modules \
-    python3-pytest \
     python3-service-identity \
     python3-six \
-    python3-unittest-automake-output \
 "
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}