From patchwork Wed Mar 13 22:02:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Blach X-Patchwork-Id: 1056285 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=blach.pl Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44KRg00Kxwz9s5c for ; Thu, 14 Mar 2019 09:42:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 66D5B2206D; Wed, 13 Mar 2019 22:42:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c08A+WoyHMRn; Wed, 13 Mar 2019 22:42:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6A834220C4; Wed, 13 Mar 2019 22:42:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9EEE01BF424 for ; Wed, 13 Mar 2019 22:42:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9A1E587D28 for ; Wed, 13 Mar 2019 22:42:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id reYpF2bXVkL7 for ; Wed, 13 Mar 2019 22:42:12 +0000 (UTC) X-Greylist: delayed 00:20:02 by SQLgrey-1.7.6 Received: from 16.mo7.mail-out.ovh.net (16.mo7.mail-out.ovh.net [46.105.72.216]) by hemlock.osuosl.org (Postfix) with ESMTPS id 07AE287D14 for ; Wed, 13 Mar 2019 22:42:12 +0000 (UTC) Received: from player691.ha.ovh.net (unknown [10.109.160.232]) by mo7.mail-out.ovh.net (Postfix) with ESMTP id B7118108836 for ; Wed, 13 Mar 2019 23:03:06 +0100 (CET) Received: from blach.pl (adls185.neoplus.adsl.tpnet.pl [79.185.22.185]) (Authenticated sender: grzegorz@blach.pl) by player691.ha.ovh.net (Postfix) with ESMTPSA id B91E43BEDF2C; Wed, 13 Mar 2019 22:03:01 +0000 (UTC) From: Grzegorz Blach To: buildroot@buildroot.org Date: Wed, 13 Mar 2019 23:02:52 +0100 Message-Id: <20190313220253.26245-1-grzegorz@blach.pl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 9086575202331090590 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrhedtgdduheejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm Subject: [Buildroot] [PATCH 1/1] package/aioblescan: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Grzegorz Blach , Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Python library to scan and decode advertised BLE info. Uses asyncio. https://github.com/frawau/aioblescan Signed-off-by: Grzegorz Blach --- 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(+) create mode 100644 package/python-aioblescan/Config.in create mode 100644 package/python-aioblescan/python-aioblescan.hash create mode 100644 package/python-aioblescan/python-aioblescan.mk 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))