mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-08 11:57:36 +00:00
451fe283c6
bleak's build backend is uv_build, but the recipe inherited python_poetry_core and then added python3-uv-build-native to DEPENDS by hand. Both classes are thin wrappers over python_pep517 that differ only in the native backend they pull in, and python_pep517 takes the backend from pyproject.toml, so inherit python_uv_build instead and drop the manual DEPENDS along with the unused poetry-core dependency. The patch capped uv_build at <0.12.0, which the 0.11.32 -> 0.12.1 upgrade in oe-core invalidated: ERROR Unmet dependencies (checked against .../nativepython3): uv_build<0.12.0,>=0.10.9 This bound has now broken twice, and there is only ever one uv-build in the sysroot, so drop the upper bound rather than raise it again. Verified on aarch64 for qemuarm64: do_compile fails before the change with the error above and both do_compile and do_package succeed after. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
27 lines
681 B
BlitzBasic
27 lines
681 B
BlitzBasic
SUMMARY = "Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers."
|
|
HOMEPAGE = "https://github.com/hbldh/bleak"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
|
|
|
|
SRC_URI:append = " \
|
|
file://run-ptest \
|
|
file://0001-bleak-Support-newer-uv_build-versions.patch \
|
|
"
|
|
|
|
inherit pypi python_uv_build ptest-python-pytest
|
|
|
|
SRC_URI[sha256sum] = "c2229cb8238d5876b4bd05c74bf7a1aea1f88da39d2e51ac9dfd5cc319d5265f"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-asyncio \
|
|
python3-pytest-asyncio \
|
|
python3-pytest-cov \
|
|
python3-bumble \
|
|
"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-core (>3.8) \
|
|
python3-dbus-fast \
|
|
python3-xml \
|
|
"
|