diff mbox series

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

Message ID 20250110200822.3958062-1-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>
---
 .../recipes-devtools/python/python3-yarl/run-ptest        | 3 ---
 .../recipes-devtools/python/python3-yarl_1.18.3.bb        | 8 +-------
 2 files changed, 1 insertion(+), 10 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-yarl/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/meta-python/recipes-devtools/python/python3-yarl/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-yarl/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb b/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb
index 8db97093c..5370573a3 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.18.3.bb
@@ -5,11 +5,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRC_URI[sha256sum] = "ac1801c45cbf77b6c99242eeff4fffb5e4e73a800b5c4ad4fc0be5def634d2e1"
 
-SRC_URI += "file://run-ptest"
-
 PYPI_PACKAGE = "yarl"
 
-inherit pypi ptest python_setuptools_build_meta cython
+inherit pypi ptest-python-pytest python_setuptools_build_meta cython
 
 DEPENDS += " \
     python3-expandvars-native \
@@ -31,7 +29,3 @@  RDEPENDS:${PN}-ptest += " \
     python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}