From 4b30ee93248f93012d427ebd0211039095a6a3fc Mon Sep 17 00:00:00 2001 From: Falco Hyfing Date: Wed, 14 Mar 2018 14:17:50 +0100 Subject: [PATCH] python-pymodbus: new package Signed-off-by: Falco Hyfing Reviewed-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/python-pymodbus/Config.in | 7 +++++++ package/python-pymodbus/python-pymodbus.hash | 3 +++ package/python-pymodbus/python-pymodbus.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/python-pymodbus/Config.in create mode 100644 package/python-pymodbus/python-pymodbus.hash create mode 100644 package/python-pymodbus/python-pymodbus.mk diff --git a/DEVELOPERS b/DEVELOPERS index 031af3cdd0..fcc057aac1 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -668,6 +668,9 @@ F: package/safeclib/ F: package/tinycbor/ F: package/tinydtls/ +N: Falco Hyfing +F: package/python-pymodbus/ + N: Floris Bos F: package/ipmitool/ F: package/odhcploc/ diff --git a/package/Config.in b/package/Config.in index 992d670bb8..2f9210a04e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -874,6 +874,7 @@ menu "External python modules" source "package/python-pyinotify/Config.in" source "package/python-pylibftdi/Config.in" source "package/python-pylru/Config.in" + source "package/python-pymodbus/Config.in" source "package/python-pymysql/Config.in" source "package/python-pynacl/Config.in" source "package/python-pyopenssl/Config.in" diff --git a/package/python-pymodbus/Config.in b/package/python-pymodbus/Config.in new file mode 100644 index 0000000000..49043c10b3 --- /dev/null +++ b/package/python-pymodbus/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYMODBUS + bool "python-pymodbus" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Pymodbus is a full Modbus protocol implementation. + + https://github.com/riptideio/pymodbus diff --git a/package/python-pymodbus/python-pymodbus.hash b/package/python-pymodbus/python-pymodbus.hash new file mode 100644 index 0000000000..c930795eb1 --- /dev/null +++ b/package/python-pymodbus/python-pymodbus.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 e33bd0dfbd2cbd4dbc686ca87f809aebb7d72e940eb5846d5d38bb0f3371b26a python-pymodbus-v1.4.0.tar.gz +sha256 796a47993313691ea404d8af7e4c0f9daf1d2760e3900938985b59c9008eee2f doc/LICENSE diff --git a/package/python-pymodbus/python-pymodbus.mk b/package/python-pymodbus/python-pymodbus.mk new file mode 100644 index 0000000000..40470fe92e --- /dev/null +++ b/package/python-pymodbus/python-pymodbus.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-pymodbus +# +################################################################################ + +PYTHON_PYMODBUS_VERSION = v1.4.0 +PYTHON_PYMODBUS_SITE = $(call github,riptideio,pymodbus,$(PYTHON_PYMODBUS_VERSION)) +PYTHON_PYMODBUS_SETUP_TYPE = setuptools +PYTHON_PYMODBUS_LICENSE = BSD-3-Clause +PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE + +$(eval $(python-package)) -- 2.30.2