All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/python-aioblescan: new package
@ 2019-03-14 20:55 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-03-14 20:55 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=74a43e251791336729ac901a0a8a2a130573ded2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Python library to scan and decode advertised BLE info.
Uses asyncio.

https://github.com/frawau/aioblescan

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 DEVELOPERS                                       |  1 +
 package/Config.in                                |  1 +
 package/python-aioblescan/Config.in              |  7 +++++++
 package/python-aioblescan/python-aioblescan.hash |  5 +++++
 package/python-aioblescan/python-aioblescan.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index bff5a58a5b..10ba19b647 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -933,6 +933,7 @@ F:	fs/f2fs/
 F:	package/bluez5_utils-headers/
 F:	package/f2fs-tools/
 F:	package/pigpio/
+F:	package/python-aioblescan/
 F:	package/python-falcon/
 F:	package/python-mimeparse/
 F:	package/python-pigpio/
diff --git a/package/Config.in b/package/Config.in
index 420e6e95a3..f0ddfb76e9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -799,6 +799,7 @@ endif
 	source "package/python3/Config.in"
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
+	source "package/python-aioblescan/Config.in"
 	source "package/python-aiocoap/Config.in"
 	source "package/python-aiodns/Config.in"
 	source "package/python-aiohttp/Config.in"
diff --git a/package/python-aioblescan/Config.in b/package/python-aioblescan/Config.in
new file mode 100644
index 0000000000..dd1acfa095
--- /dev/null
+++ b/package/python-aioblescan/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_AIOBLESCAN
+	bool "python-aioblescan"
+	depends on BR2_PACKAGE_PYTHON3
+	help
+	  Scanning Bluetooth for advertised info with asyncio.
+
+	  https://github.com/frawau/aioblescan
diff --git a/package/python-aioblescan/python-aioblescan.hash b/package/python-aioblescan/python-aioblescan.hash
new file mode 100644
index 0000000000..d33162850a
--- /dev/null
+++ b/package/python-aioblescan/python-aioblescan.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aioblescan/json
+md5	b662f44828a99430d4ed42c843ddb89c  aioblescan-0.2.4.tar.gz
+sha256	d613f24ffdb3dae48d6157443f76708f0c791034036330d00272af6b408b2c6c  aioblescan-0.2.4.tar.gz
+# Locally computed sha256 checksums
+sha256	c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0  LICENSE.txt
diff --git a/package/python-aioblescan/python-aioblescan.mk b/package/python-aioblescan/python-aioblescan.mk
new file mode 100644
index 0000000000..8a6bda3a65
--- /dev/null
+++ b/package/python-aioblescan/python-aioblescan.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aioblescan
+#
+################################################################################
+
+PYTHON_AIOBLESCAN_VERSION = 0.2.4
+PYTHON_AIOBLESCAN_SOURCE = aioblescan-$(PYTHON_AIOBLESCAN_VERSION).tar.gz
+PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/a9/ad/1e2f41b2036bd76079f88cd94ce35b5a996d937dccaf432ea6b8092d3e11
+PYTHON_AIOBLESCAN_SETUP_TYPE = distutils
+PYTHON_AIOBLESCAN_LICENSE = MIT
+PYTHON_AIOBLESCAN_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-14 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14 20:55 [Buildroot] [git commit] package/python-aioblescan: new package Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.