python-ble2mqtt: add package

This package allows interfacing between BLE sensors and MQTT.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
This commit is contained in:
Quintin Hill 2023-03-10 22:51:17 +00:00
parent 661f14c46e
commit 2af786a48d
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
#
# 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-ble2mqtt
PKG_VERSION:=0.1.5
PKG_RELEASE:=1
PYPI_NAME:=ble2mqtt
PKG_HASH:=0015cae0c36badb48cbd4a1c8b1a8029e45ab0891a95363fe00624c2629b4510
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-ble2mqtt
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Bluetooth to MQTT bridge
URL:=https://github.com/devbis/ble2mqtt/
DEPENDS:=+python3-light +python3-aio-mqtt-mod +python3-asyncio +python3-bleak +python3-logging
endef
define Package/python3-ble2mqtt/description
Bluetooth to MQTT bridge, add your bluetooth-capable (including controllable)
devices to your smart home
endef
$(eval $(call Py3Package,python3-ble2mqtt))
$(eval $(call BuildPackage,python3-ble2mqtt))
$(eval $(call BuildPackage,python3-ble2mqtt-src))