mirror of
https://github.com/openwrt/packages.git
synced 2026-04-18 04:12:14 +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>
17 lines
406 B
Bash
17 lines
406 B
Bash
[ "$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
|