python-bleak: update to 3.0.1
authorAlexandru Ardelean <redacted>
Thu, 16 Apr 2026 12:25:51 +0000 (12:25 +0000)
committerAlexandru Ardelean <redacted>
Thu, 16 Apr 2026 16:01:19 +0000 (19:01 +0300)
- 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 <redacted>
lang/python/python-bleak/Makefile
lang/python/python-bleak/test.sh [new file with mode: 0644]

index 32550e284f5bae3fd2c3340b84739a3ccbbe3f08..bc5b857c02a0d886d639047c4aad35a913c0f6ba 100644 (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
diff --git a/lang/python/python-bleak/test.sh b/lang/python/python-bleak/test.sh
new file mode 100644 (file)
index 0000000..b1f5006
--- /dev/null
@@ -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
git clone https://git.99rst.org/PROJECT