diff mbox series

[meta-python,02/11] python3-bleak: update recipe to use the ptest-python-pytest class

Message ID 20250131013935.3714521-2-derek@asterius.io
State Accepted
Headers show
Series [meta-python,01/11] python3-dasbus: update recipe to use the ptest-python-pytest class | expand

Commit Message

Derek Straka Jan. 31, 2025, 1:39 a.m. UTC
Signed-off-by: Derek Straka <derek@asterius.io>
---
 .../recipes-devtools/python/python3-bleak/run-ptest |  3 ---
 .../recipes-devtools/python/python3-bleak_0.22.3.bb | 13 +------------
 2 files changed, 1 insertion(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-bleak/run-ptest
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-bleak/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@ 
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb
index c0150c7901..47b3bcc62f 100644
--- a/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb
+++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb
@@ -6,25 +6,14 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
 SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556"
 PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
 
-inherit pypi python_poetry_core ptest
+inherit pypi python_poetry_core ptest-python-pytest
 
 S = "${WORKDIR}/git"
 
-SRC_URI += " \
-	file://run-ptest \
-"
-
 RDEPENDS:${PN}-ptest += " \
-	python3-pytest \
 	python3-pytest-asyncio \
-	python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN} += " \
 	python3-core (>3.8) \
 	python3-dbus-fast \