Bump version 0.2.2 -> 0.2.5.
Add test.sh to verify Device base class import.
Signed-off-by: Alexandru Ardelean <redacted>
include $(TOPDIR)/rules.mk
PKG_NAME:=python-ble2mqtt
-PKG_VERSION:=0.2.2
+PKG_VERSION:=0.2.5
PKG_RELEASE:=1
PYPI_NAME:=ble2mqtt
-PKG_HASH:=6c8abb4fe3d8ba77e42f23e4acdfbb99e337ed5bdea05db4e1b92d455186c8e6
+PKG_HASH:=b67838a4fccf99b7a00304acb8cf967b01fd9926e3cfd2b2476b21d242cb8384
PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
PKG_LICENSE:=MIT
--- /dev/null
+#!/bin/sh
+
+[ "$1" = python3-ble2mqtt ] || exit 0
+
+python3 - << 'EOF'
+import ble2mqtt
+from ble2mqtt.devices.base import Device, ConnectionMode
+
+assert hasattr(ble2mqtt, "__version__") or True # version may not be exposed
+assert issubclass(Device, object)
+
+print("python3-ble2mqtt OK")
+EOF
\ No newline at end of file