python-pymodbus: new package
authorFalco Hyfing <hyfinglists@gmail.com>
Wed, 14 Mar 2018 13:17:50 +0000 (14:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Mar 2018 21:39:56 +0000 (23:39 +0200)
Signed-off-by: Falco Hyfing <hyfinglists@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pymodbus/Config.in [new file with mode: 0644]
package/python-pymodbus/python-pymodbus.hash [new file with mode: 0644]
package/python-pymodbus/python-pymodbus.mk [new file with mode: 0644]

index 031af3cdd003913ec6188df7eb9450e0311f8c38..fcc057aac124a15b1e65d479215be1065361461b 100644 (file)
@@ -668,6 +668,9 @@ F:  package/safeclib/
 F:     package/tinycbor/
 F:     package/tinydtls/
 
+N:     Falco Hyfing <hyfinglists@gmail.com>
+F:     package/python-pymodbus/
+
 N:     Floris Bos <bos@je-eigen-domein.nl>
 F:     package/ipmitool/
 F:     package/odhcploc/
index 992d670bb862714c0ec9c9e81515b5734edd94e5..2f9210a04e22e12c7580459b387bf33202e1933d 100644 (file)
@@ -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 (file)
index 0000000..49043c1
--- /dev/null
@@ -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 (file)
index 0000000..c930795
--- /dev/null
@@ -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 (file)
index 0000000..40470fe
--- /dev/null
@@ -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))