diff mbox series

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

Message ID 20250130215738.3280576-6-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-multidict/run-ptest              |  2 --
 .../python/python3-multidict_6.1.0.bb               | 13 +------------
 2 files changed, 1 insertion(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-multidict/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
deleted file mode 100644
index d74acaf564..0000000000
--- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest
+++ /dev/null
@@ -1,2 +0,0 @@ 
-#!/bin/sh
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb
index 1132e9ba5d..ed49b8ff02 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_6.1.0.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://github.com/aio-libs/multidict/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"
 
-inherit pypi python_setuptools_build_meta ptest
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 PV .= "+git"
 
@@ -12,19 +12,8 @@  SRCREV = "4140e63780dc6dd600a1837cb9b4c5198c3dcd68"
 PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https"
 S = "${WORKDIR}/git"
 
-SRC_URI += " \
-	file://run-ptest \
-"
-
 RDEPENDS:${PN}-ptest += " \
-    python3-pytest \
     python3-pytest-cov \
-    python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 BBCLASSEXTEND = "native nativesdk"