diff mbox series

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

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest b/meta-python/recipes-devtools/python/python3-wrapt/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
index b72bafb6d..fae45fb70 100644
--- a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
+++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
@@ -6,11 +6,10 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7"
 
 SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"
 
-inherit setuptools3 ptest
+inherit setuptools3 ptest-python-pytest
 
 SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b"
 SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
-	file://run-ptest \
 "
 
 S = "${WORKDIR}/git"
@@ -18,15 +17,8 @@  S = "${WORKDIR}/git"
 # python3-misc for 'this' module
 RDEPENDS:${PN}-ptest += " \
 	python3-misc \
-	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}:class-target += "\
     python3-stringold \
     python3-threading \