python3-bleak: update recipe to use the ptest-python-pytest class

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka
2025-01-31 01:39:26 +00:00
committed by Khem Raj
parent 04bf6e86dd
commit f10035ce58
2 changed files with 1 additions and 15 deletions

View File

@@ -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 \