diff mbox series

[meta-python,1/5] python3-soupsieve: update recipe to use the ptest-python-pytest class

Message ID 20250110223134.4177993-1-derek@asterius.io
State Accepted
Headers show
Series [meta-python,1/5] python3-soupsieve: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 10, 2025, 10:31 p.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../python/python3-soupsieve/run-ptest               |  3 ---
 .../recipes-devtools/python/python3-soupsieve_2.6.bb | 12 +-----------
 2 files changed, 1 insertion(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb
index dc317ea6c..dfcd9f484 100644
--- a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb
+++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb
@@ -6,11 +6,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d"
 
 SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb"
 
-inherit pypi python_hatchling python_setuptools_build_meta ptest
+inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest
 
-SRC_URI += " \
-        file://run-ptest \
-"
 RDEPENDS:${PN} += " \
     python3-core \
     python3-datetime \
@@ -21,13 +18,6 @@  RDEPENDS:${PN}:append:class-target = " \
 
 RDEPENDS:${PN}-ptest += " \
     python3-beautifulsoup4 \
-    python3-pytest \
-    python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-        install -d ${D}${PTEST_PATH}/tests
-        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 BBCLASSEXTEND = "native nativesdk"