blob: fb3af6702597fa53f62b37f69d9f614c53decf0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
SUMMARY = "Bluetooth Stack for Apps, Emulation, Test and Experimentation"
HOMEPAGE = "https://github.com/google/bumble"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125"
SRC_URI[sha256sum] = "cea9fbd8b8a9ff78567bc4a97b35d54c72fcf10109476a24518d01394fbbd982"
inherit pypi python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-wheel-native"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
libusb1 \
python3-appdirs \
python3-click \
python3-cryptography \
python3-grpcio \
python3-humanize \
python3-platformdirs \
python3-prettytable \
python3-prompt-toolkit \
python3-protobuf \
python3-pyee \
python3-pyserial \
python3-pyserial-asyncio \
python3-pyusb \
python3-websockets \
python3-libusb1 \
"
RDEPENDS:${PN}-ptest += "\
python3-pytest-asyncio \
python3-aiohttp \
"
# WARNING: We were unable to map the following python package/module
# runtime dependencies to the bitbake packages which include them:
# libusb-package
# pyee
do_install_ptest:append() {
ln -sf ${PYTHON_SITEPACKAGES_DIR}/bumble/apps ${D}${PTEST_PATH}/apps
ln -sf ${PYTHON_SITEPACKAGES_DIR}/bumble/tools ${D}${PTEST_PATH}/tools
printf '[pytest]\nasyncio_mode = auto\npythonpath = .\n' > ${D}${PTEST_PATH}/pytest.ini
}
|