Skip to contentSkip to conversation

package/python-modbus-tk: new package

PATCH Superseded Pierre-Jean Texier 1 participant 1 message Jun 27, 2019

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-modbus-tk: new package

---
 DEVELOPERS                                     |  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 ++++++++++++++
 4 files changed, 28 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
DEVELOPERS +1 -0
index ce3fcb2..164239a 100644
@@ -1856,6 +1856,7 @@ F:	package/trace-cmd/
 
 N:	Pierre-Jean Texier <[email protected]>
 F:	package/libubootenv/
+F:	package/python-modbus-tk/
 F:	package/python-periphery/
 
 N:	Pieter De Gendt <[email protected]>
package/python-modbus-tk/Config.in new file +7 -0
new file mode 100644
index 0000000..16d87ff
@@ -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/
package/python-modbus-tk/python-modbus-tk.hash new file +6 -0
new file mode 100644
index 0000000..f4da4e5
@@ -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
package/python-modbus-tk/python-modbus-tk.mk new file +14 -0
new file mode 100644
index 0000000..7de9005
@@ -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 = GNU Library or Lesser General Public License (LGPL)
+PYTHON_MODBUS_TK_LICENSE_FILES = license.txt copying.txt
+
+$(eval $(python-package))
Signature · 1 line
2.7.4