mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
python3-bleak: upgrade 2.0.0 -> 2.1.1
1. Changelog: https://github.com/hbldh/bleak/blob/v2.1.1/CHANGELOG.rst 2. Skip integration tests in ptest After upgrade to 2.1.1, a new test set integration was added. https://github.com/hbldh/bleak/tree/v2.1.1/tests/integration According to the description, the tests need kernel module hci_vhci, but hci_vhci is disabled in yocto, so skip these tests. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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"
|
||||||
@@ -3,8 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak"
|
|||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
|
||||||
|
|
||||||
SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c"
|
SRCREV = "5d76a62a549a4674c64ee151d38e2339e8ba948a"
|
||||||
PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}"
|
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
|
inherit pypi python_poetry_core ptest-python-pytest
|
||||||
|
|
||||||
@@ -12,6 +14,7 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
python3-asyncio \
|
python3-asyncio \
|
||||||
python3-pytest-asyncio \
|
python3-pytest-asyncio \
|
||||||
python3-pytest-cov \
|
python3-pytest-cov \
|
||||||
|
python3-bumble \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
Reference in New Issue
Block a user