blob: 32550e284f5bae3fd2c3340b84739a3ccbbe3f08 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2023
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=python-bleak
10PKG_VERSION:=0.21.1
11PKG_RELEASE:=2
12
13PYPI_NAME:=bleak
14PKG_HASH:=ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f
15
16PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
17PKG_LICENSE:=MIT
18PKG_LICENSE_FILES:=LICENSE
19
20PKG_BUILD_DEPENDS:=python-poetry-core/host
21
22include ../pypi.mk
23include $(INCLUDE_DIR)/package.mk
24include ../python3-package.mk
25
26define Package/python3-bleak
27 SECTION:=lang
28 CATEGORY:=Languages
29 SUBMENU:=Python
30 TITLE:=Bluetooth Low Energy platform Agnostic Klient
31 URL:=https://github.com/hbldh/bleak
32 DEPENDS:=+python3-light +python3-async-timeout +python3-asyncio \
33 +python3-dbus-fast +python3-ctypes +python3-typing-extensions +python3-logging
34endef
35
36define Package/python3-bleak/description
37 Bleak is an acronym for Bluetooth Low Energy platform Agnostic Klient.
38 Bleak is a GATT client software, capable of connecting to BLE devices acting
39 as GATT servers. It is designed to provide a asynchronous, cross-platform
40 Python API to connect and communicate with e.g. sensors.
41endef
42
43$(eval $(call Py3Package,python3-bleak))
44$(eval $(call BuildPackage,python3-bleak))
45$(eval $(call BuildPackage,python3-bleak-src))