python-bleak: update to 3.0.1

- 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>
This commit is contained in:
Alexandru Ardelean
2026-04-16 12:25:51 +00:00
committed by Alexandru Ardelean
parent 6defd87092
commit 6bda1b13e6
2 changed files with 21 additions and 4 deletions
+5 -4
View File
@@ -7,11 +7,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-bleak
PKG_VERSION:=0.21.1
PKG_RELEASE:=2
PKG_VERSION:=3.0.1
PKG_RELEASE:=1
PYPI_NAME:=bleak
PKG_HASH:=ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f
PKG_HASH:=c8ff077519f8c30a972fd0d22f47a54b981184b2f2a0886d02e55acadbc1045d
PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
PKG_LICENSE:=MIT
@@ -30,7 +30,8 @@ define Package/python3-bleak
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-dbus-fast +python3-ctypes +python3-typing-extensions +python3-logging \
+python3-uuid
endef
define Package/python3-bleak/description
+16
View File
@@ -0,0 +1,16 @@
[ "$1" = python3-bleak ] || exit 0
python3 - << 'EOF'
import bleak
from bleak import BleakScanner, BleakClient
from bleak.backends.device import BLEDevice
from bleak.backends.scanner import AdvertisementData
assert bleak.__author__ is not None
assert BleakScanner is not None
assert BleakClient is not None
assert BLEDevice is not None
assert AdvertisementData is not None
print("python3-bleak OK")
EOF