From patchwork Tue Sep 17 17:51:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Jean Texier X-Patchwork-Id: 1163555 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=koncepto.io Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=koncepto.io header.i=@koncepto.io header.b="F01VULGn"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46XrX90YxHz9s4Y for ; Wed, 18 Sep 2019 04:01:29 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DA2CC86365; Tue, 17 Sep 2019 18:01:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ng0jGWR0VJ0j; Tue, 17 Sep 2019 18:01:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B666E862E8; Tue, 17 Sep 2019 18:01:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 224EA1BF9FA for ; Tue, 17 Sep 2019 18:01:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1E75884C63 for ; Tue, 17 Sep 2019 18:01:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DBWRifpKQz96 for ; Tue, 17 Sep 2019 18:00:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from koncepto.io (koncepto.io [195.154.119.111]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1344785074 for ; Tue, 17 Sep 2019 18:00:59 +0000 (UTC) Received: from menoah.home (lfbn-1-8923-205.w193-250.abo.wanadoo.fr [193.250.65.205]) by koncepto.io (Postfix) with ESMTPSA id DD0D2600BD; Tue, 17 Sep 2019 19:51:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=koncepto.io; s=default; t=1568742694; bh=eExDbTDYhnfaUt/3Nc5RhXZTw16GBacthnGKZfPFb40=; h=From:To:Cc:Subject:Date:From; b=F01VULGnyDBhnqFFRYc2oSvYcEbftOySfyGp2P3mBq2ZCLj8XC1jGwcUaQuM3uHDe yWlNMpnPil6+DPmX50ARPXrQMYuxCTA6FpxIqIbAUMFFGzkdZKzvMArJHduTYiabs/ yqhMTjZZRx9QCpQmsTB7o+tX+wVoMcihuVqgXZ3NLkWSsxnfq+wBD+YhH8BAu9o8tA Au/t0Voj07ozVZvHkAK4N78J74haliqpN5Fbl6hjTXAYmgAlaDoLpr0o4xxImzBrHc aOcnnGgtltFjtIpVjOFaiGHDeUrHoj+YaVLZ61EXtKlZo9uEsCBrbyqIuDa5BsaaSL 0LW619whI/VMA== From: Pierre-Jean Texier To: buildroot@buildroot.org Date: Tue, 17 Sep 2019 19:51:31 +0200 Message-Id: <1568742691-27792-1-git-send-email-pjtexier@koncepto.io> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v4] package/python-modbus-tk: 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: Pierre-Jean Texier , Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Pierre-Jean Texier Reviewed-by: Yegor Yefremov --- Changes v3 -> v4: - Rebase on top of master Changes v2 -> v3: - Rework _LICENSE (after review of Yegor Yefremov) Changes v1 -> v2: - add missing entry in Config.in DEVELOPERS | 1 + package/Config.in | 1 + package/python-modbus-tk/Config.in | 7 +++++++ package/python-modbus-tk/python-modbus-tk.hash | 6 ++++++ package/python-modbus-tk/python-modbus-tk.mk | 14 ++++++++++++++ 5 files changed, 29 insertions(+) create mode 100644 package/python-modbus-tk/Config.in create mode 100644 package/python-modbus-tk/python-modbus-tk.hash create mode 100644 package/python-modbus-tk/python-modbus-tk.mk diff --git a/DEVELOPERS b/DEVELOPERS index 4467688..a99fdda 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1898,6 +1898,7 @@ F: package/libarchive/ F: package/libevent/ F: package/libubootenv/ F: package/libxml2/ +F: package/python-modbus-tk/ F: package/python-periphery/ F: package/stunnel/ F: package/tree/ diff --git a/package/Config.in b/package/Config.in index ab43543..dc5176c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -951,6 +951,7 @@ menu "External python modules" source "package/python-meld3/Config.in" source "package/python-mimeparse/Config.in" source "package/python-mistune/Config.in" + source "package/python-modbus-tk/Config.in" source "package/python-more-itertools/Config.in" source "package/python-msgpack/Config.in" source "package/python-multidict/Config.in" diff --git a/package/python-modbus-tk/Config.in b/package/python-modbus-tk/Config.in new file mode 100644 index 0000000..16d87ff --- /dev/null +++ b/package/python-modbus-tk/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MODBUS_TK + bool "python-modbus-tk" + select BR2_PACKAGE_PYTHON_SERIAL # runtime + help + Implementation of modbus protocol in python. + + https://github.com/ljean/modbus-tk/ diff --git a/package/python-modbus-tk/python-modbus-tk.hash b/package/python-modbus-tk/python-modbus-tk.hash new file mode 100644 index 0000000..f4da4e5 --- /dev/null +++ b/package/python-modbus-tk/python-modbus-tk.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/modbus-tk/json +md5 e268242483b719030656ab6047cebff3 modbus_tk-1.0.0.tar.gz +sha256 041a34afec8ef487d9e8c0c20834909c2f43a3ae9a0d007b978686d580e9b873 modbus_tk-1.0.0.tar.gz +# Locally computed sha256 checksums +sha256 3b6a7f9c478ac1982e86cdadb45eb4788241b95839500eb26839d5053b74a24a license.txt +sha256 aa7ca42152a13db6a27b31944f99851efc3b9ee813912ff21d7d6ceadca62e6f copying.txt diff --git a/package/python-modbus-tk/python-modbus-tk.mk b/package/python-modbus-tk/python-modbus-tk.mk new file mode 100644 index 0000000..3d790e1 --- /dev/null +++ b/package/python-modbus-tk/python-modbus-tk.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-modbus-tk +# +################################################################################ + +PYTHON_MODBUS_TK_VERSION = 1.0.0 +PYTHON_MODBUS_TK_SOURCE = modbus_tk-$(PYTHON_MODBUS_TK_VERSION).tar.gz +PYTHON_MODBUS_TK_SITE = https://files.pythonhosted.org/packages/8b/03/50193a66aac4eeccbaecea22044de6f07f4e8bfcb6ec37d724a0bba50f46 +PYTHON_MODBUS_TK_SETUP_TYPE = setuptools +PYTHON_MODBUS_TK_LICENSE = LGPL-2.1-or-later +PYTHON_MODBUS_TK_LICENSE_FILES = license.txt copying.txt + +$(eval $(python-package))