diff options
| author | Quintin Hill <stuff@quintin.me.uk> | 2023-03-20 13:32:49 +0000 |
|---|---|---|
| committer | Quintin Hill <stuff@quintin.me.uk> | 2023-03-22 09:00:30 +0000 |
| commit | 661f14c46ed43a3855f9fa4f94cd63cd031c1662 (patch) | |
| tree | 262c54bd91e88db2dcc2a8e95cb00c1af0481fce /lang/python | |
| parent | 3c6a6746b0da7f084a2f7e21c31cad6d898ecc46 (diff) | |
python-bleak: add package
This package is a dependency of ble2mqtt.
python-asyncio is a runtime dependency of this package.
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
Diffstat (limited to 'lang/python')
| -rw-r--r-- | lang/python/python-bleak/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/lang/python/python-bleak/Makefile b/lang/python/python-bleak/Makefile new file mode 100644 index 000000000..b97d65065 --- /dev/null +++ b/lang/python/python-bleak/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2023 +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-bleak +PKG_VERSION:=0.20.0 +PKG_RELEASE:=1 + +PYPI_NAME:=bleak +PKG_HASH:=7f6fe69454ad5d4c0ab05ae4a9aa1aabd6926d7128eab2fac4ef8a58a72999ee + +PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk> +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-bleak + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Bluetooth Low Energy platform Agnostic Klient + URL:=https://github.com/hbldh/bleak + DEPENDS:=+python3-light +python3-async-timeout +python3-asyncio \ + +python3-dbus-fast +python3-ctypes +python3-logging +endef + +define Package/python3-bleak/description + Bleak is an acronym for Bluetooth Low Energy platform Agnostic Klient. + Bleak is a GATT client software, capable of connecting to BLE devices acting + as GATT servers. It is designed to provide a asynchronous, cross-platform + Python API to connect and communicate with e.g. sensors. +endef + +$(eval $(call Py3Package,python3-bleak)) +$(eval $(call BuildPackage,python3-bleak)) +$(eval $(call BuildPackage,python3-bleak-src)) |
