diff mbox series

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

Message ID 20250130215738.3280576-23-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand

Commit Message

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-dominate/run-ptest b/meta-python/recipes-devtools/python/python3-dominate/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-dominate/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
index cce304498a..a0dd638087 100644
--- a/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-dominate_2.9.1.bb
@@ -4,23 +4,12 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
 
 SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4"
 
-inherit pypi ptest python_setuptools_build_meta
+inherit pypi ptest-python-pytest python_setuptools_build_meta
 
 SRC_URI += " \
     file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \
-	file://run-ptest \
 "
 
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN} += "\
     python3-numbers \
     python3-threading \