mirror of
https://github.com/openwrt/packages.git
synced 2026-04-17 03:41:59 +00:00
- bump 0.21.1 -> 3.0.1 - add +python3-uuid to DEPENDS (new dependency in 3.x) - add test.sh Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#
|
|
# 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:=3.0.1
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=bleak
|
|
PKG_HASH:=c8ff077519f8c30a972fd0d22f47a54b981184b2f2a0886d02e55acadbc1045d
|
|
|
|
PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=python-poetry-core/host
|
|
|
|
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-typing-extensions +python3-logging \
|
|
+python3-uuid
|
|
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))
|