Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 1 | SUMMARY = "Bleak is a GATT client software, capable of connecting to BLE devices acting as GATT servers." |
| 2 | HOMEPAGE = "https://github.com/hbldh/bleak" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" |
| 5 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 6 | SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" |
| 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 8 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 9 | inherit pypi python_poetry_core ptest |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 10 | |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | SRC_URI += " \ |
| 14 | file://run-ptest \ |
| 15 | " |
| 16 | |
| 17 | RDEPENDS:${PN}-ptest += " \ |
| 18 | python3-pytest \ |
| 19 | python3-pytest-asyncio \ |
| 20 | python3-unittest-automake-output \ |
| 21 | " |
| 22 | |
| 23 | do_install_ptest() { |
| 24 | install -d ${D}${PTEST_PATH}/tests |
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 26 | } |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 27 | |
| 28 | RDEPENDS:${PN} += " \ |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 29 | python3-core (>3.7) \ |
| 30 | python3-async-timeout \ |
| 31 | python3-dbus-fast \ |
| 32 | python3-xml \ |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 33 | " |