blob: 96f3fcbcfefa3a821bd1b5a4c5435b42601263cc [file] [log] [blame]
Patrick Williamse760df82023-05-26 11:10:49 -05001SUMMARY = "Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers."
2HOMEPAGE = "https://github.com/hbldh/bleak"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
5
Patrick Williams44b3caf2024-04-12 16:51:14 -05006SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8"
7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
Patrick Williamse760df82023-05-26 11:10:49 -05008
Patrick Williams44b3caf2024-04-12 16:51:14 -05009inherit pypi python_poetry_core ptest
Patrick Williamse760df82023-05-26 11:10:49 -050010
Patrick Williams44b3caf2024-04-12 16:51:14 -050011S = "${WORKDIR}/git"
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-pytest \
19 python3-pytest-asyncio \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26}
Patrick Williamse760df82023-05-26 11:10:49 -050027
28RDEPENDS:${PN} += " \
Patrick Williams44b3caf2024-04-12 16:51:14 -050029 python3-core (>3.7) \
30 python3-async-timeout \
31 python3-dbus-fast \
32 python3-xml \
Patrick Williamse760df82023-05-26 11:10:49 -050033"