diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest new file mode 100644 index 0000000000..623fc814c9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh +#Skip integration as it need hci_vhci, but hci_vhci module is not enabled in yocto kernel. +pytest --automake -k "not integration" diff --git a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb rename to meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb index 161b21b88c..03f2ed062c 100644 --- a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb @@ -3,8 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c" -PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}" +SRCREV = "5d76a62a549a4674c64ee151d38e2339e8ba948a" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S};tag=v${PV}" + +SRC_URI:append = " file://run-ptest" inherit pypi python_poetry_core ptest-python-pytest @@ -12,6 +14,7 @@ RDEPENDS:${PN}-ptest += " \ python3-asyncio \ python3-pytest-asyncio \ python3-pytest-cov \ + python3-bumble \ " RDEPENDS:${PN} += " \