diff mbox series

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

Message ID 20250130215738.3280576-14-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-html2text/run-ptest           |  3 ---
 .../python/python3-html2text_2024.2.26.bb        | 16 ++--------------
 2 files changed, 2 insertions(+), 17 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-html2text/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-html2text/run-ptest b/meta-python/recipes-devtools/python/python3-html2text/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-html2text/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
index 55f4c8b0a6..98e0cde1e5 100644
--- a/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
+++ b/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
@@ -6,22 +6,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32"
 
-inherit pypi setuptools3 ptest
+inherit pypi setuptools3 ptest-python-pytest
 
-SRC_URI += " \
-	file://run-ptest \
-"
+PTEST_PYTEST_DIR = "test"
 
 RDEPENDS:${PN} += "python3-html"
 
-RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
-    python3-unittest-automake-output \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/test
-	cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
-}
-
 BBCLASSEXTEND = "native nativesdk"