e27d4c86dbe03a9ba5f54ec5354ab2b1f75671e9
[feed/packages.git] / lang / python / python-bleak / Makefile
1 #
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 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=python-bleak
10 PKG_VERSION:=0.20.2
11 PKG_RELEASE:=1
12
13 PYPI_NAME:=bleak
14 PKG_HASH:=6c92a47abe34e6dea8ffc5cea9457cbff6e1be966854839dbc25cddb36b79ee4
15
16 PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19
20 PKG_BUILD_DEPENDS:=python-poetry-core/host
21
22 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define 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-logging
34 endef
35
36 define 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.
41 endef
42
43 $(eval $(call Py3Package,python3-bleak))
44 $(eval $(call BuildPackage,python3-bleak))
45 $(eval $(call BuildPackage,python3-bleak-src))