summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
new file mode 100644
index 0000000000..bb1d7c2b13
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.2.bb
@@ -0,0 +1,32 @@
1SUMMARY = "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
6SRCREV = "c746071a3fcc3b5e69db6d6b23445ec3505d7730"
7PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
8
9inherit pypi python_poetry_core ptest
10
11S = "${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}
27
28RDEPENDS:${PN} += " \
29 python3-core (>3.8) \
30 python3-dbus-fast \
31 python3-xml \
32"