package/python-bleak: new package
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Mon, 21 Dec 2020 18:28:00 +0000 (19:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 29 Dec 2020 20:08:02 +0000 (21:08 +0100)
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-bleak/Config.in [new file with mode: 0644]
package/python-bleak/python-bleak.hash [new file with mode: 0644]
package/python-bleak/python-bleak.mk [new file with mode: 0644]

index a1c3a7af23469691f3abf0f7638f3ab8a91dee9d..bf0716aadb70a4f3ba900ac8bd21d36ac84c1963 100644 (file)
@@ -1595,6 +1595,7 @@ F:        package/luaossl/
 F:     package/murata-cyw-fw/
 F:     package/netdata/
 F:     package/python-ansicolors/
+F:     package/python-bleak/
 F:     package/python-iniconfig/
 F:     package/python-intelhex/
 F:     package/python-packaging/
index 70f908a7d5f758e1fb7c2f3a6d056fe172dfaae3..333f774157fd2ddca7c35feaf564406eff904cb5 100644 (file)
@@ -899,6 +899,7 @@ menu "External python modules"
        source "package/python-bcrypt/Config.in"
        source "package/python-beautifulsoup4/Config.in"
        source "package/python-bitstring/Config.in"
+       source "package/python-bleak/Config.in"
        source "package/python-bluezero/Config.in"
        source "package/python-boto3/Config.in"
        source "package/python-botocore/Config.in"
diff --git a/package/python-bleak/Config.in b/package/python-bleak/Config.in
new file mode 100644 (file)
index 0000000..3266932
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_BLEAK
+       bool "python-bleak"
+       select BR2_PACKAGE_PYTHON_TXDBUS # runtime
+       help
+         Bluetooth Low Energy platform Agnostic Klient.
+
+         https://github.com/hbldh/bleak
diff --git a/package/python-bleak/python-bleak.hash b/package/python-bleak/python-bleak.hash
new file mode 100644 (file)
index 0000000..9506822
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/bleak/json
+md5  e891b33804b69f0247eb770ca27fa0d5  bleak-0.10.0.tar.gz
+sha256  5c3a873965f2910865895e572e7a4f10533d6e150e6ba17936397426bf8d1eee  bleak-0.10.0.tar.gz
+# Locally computed sha256 checksums
+sha256  c4029a2b63b3824ab68be841f414addbdde20cb79cdbe272fa80c0b2abe65374  LICENSE
diff --git a/package/python-bleak/python-bleak.mk b/package/python-bleak/python-bleak.mk
new file mode 100644 (file)
index 0000000..040d64e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-bleak
+#
+################################################################################
+
+PYTHON_BLEAK_VERSION = 0.10.0
+PYTHON_BLEAK_SOURCE = bleak-$(PYTHON_BLEAK_VERSION).tar.gz
+PYTHON_BLEAK_SITE = https://files.pythonhosted.org/packages/80/37/c8c88709e4f1ca4636bf11c96d1ec046d7426cd02670ae80a3542280558b
+PYTHON_BLEAK_SETUP_TYPE = setuptools
+PYTHON_BLEAK_LICENSE = MIT
+PYTHON_BLEAK_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))