From 6aa32490d41ab3e09aa76f12ab2f9fa7c62ac1d3 Mon Sep 17 00:00:00 2001
From: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Date: Wed, 10 Mar 2021 16:36:27 +0100
Subject: [PATCH] python3-bluepy: Integrate bluepy module

Add bluepy - a Bluetooth LE interface for Python.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
---
 .../python3-bluepy/python3-bluepy_1.3.0.bb    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 recipes-connectivity/python3-bluepy/python3-bluepy_1.3.0.bb

diff --git a/recipes-connectivity/python3-bluepy/python3-bluepy_1.3.0.bb b/recipes-connectivity/python3-bluepy/python3-bluepy_1.3.0.bb
new file mode 100644
index 0000000..0f9d51f
--- /dev/null
+++ b/recipes-connectivity/python3-bluepy/python3-bluepy_1.3.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Python module for interfacing with BLE devices through Bluez"
+HOMEPAGE = "https://github.com/IanHarvey/bluepy"
+AUTHOR = "Ian Harvey <website-contact@fenditton.org>"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://setup.py;md5=afacc6ee39f10b48e8e138ed3a6d59e0"
+
+SRC_URI = "https://files.pythonhosted.org/packages/27/91/6cfca10bee9862f93015413cf9e6a52c3081a71f1518963396a055128f8e/bluepy-1.3.0.tar.gz"
+SRC_URI[md5sum] = "04b7412993e6a133ddc3a3a2fcc1bdde"
+SRC_URI[sha256sum] = "2a71edafe103565fb990256ff3624c1653036a837dfc90e1e32b839f83971cec"
+
+S = "${WORKDIR}/bluepy-1.3.0"
+
+inherit setuptools3
+
+DEPENDS += "\
+    glib-2.0 \
+"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
-- 
GitLab