package/python-modbus-tk: new package
PATCH v4 1/1 package/python-modbus-tk: new package
---
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
DEVELOPERS +1 -0
@@ -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/
package/Config.in +1 -0
@@ -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"
package/python-modbus-tk/Config.in new file +7 -0
@@ -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
@@ -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
@@ -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))
Signature · 1 line
2.7.4
PATCH v4 1/1 package/python-modbus-tk: new package
Quoted 78 lines · Pierre-Jean Texier
Signed-off-by Pierre-Jean Texier <[email protected]>Reviewed-by Yegor Yefremov <[email protected]>---
Changes v3 -> v4:
- Rebase on top of masterChanges v2 -> v3:
- Rework_LICENSE(after review of Yegor Yefremov)Changes v1 -> v2:
- add missing entry in Config.inDEVELOPERS | 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.mkDEVELOPERS +1
-0@@ -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/package/Config.in +1
-0@@ -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"package/python-modbus-tk/Config.in new file +7
-0@@ -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@@ -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.txtpackage/python-modbus-tk/python-modbus-tk.mk new file +0
-0
package/python-modbus-tk/python-modbus-tk.mk line 7
Quoted 7 lines
package/python-modbus-tk/python-modbus-tk.mk new file +7
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# python-modbus-tk +# +################################################################################ + +PYTHON_MODBUS_TK_VERSION = 1.0.0
Looks like it can be bumped to 1.1.0 (https://pypi.org/project/modbus_tk/)
Yegor
Quoted 10 lines
package/python-modbus-tk/python-modbus-tk.mk new file +7
-1+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)) --2.7.4
Thomas Petazzoni
AppliedPATCH v4 1/1 package/python-modbus-tk: new package
In reply to Pierre-Jean TexierHello,
Quoted 2 lines · On Tue, 17 Sep 2019 19:51:31 +0200 Pierre-Jean Texier <[email protected]>…
Signed-off-by Pierre-Jean Texier <[email protected]>Reviewed-by Yegor Yefremov <[email protected]>
I've applied after bumping to 1.1.0, and doing a small fix to the license information.
Quoted 1 line
+PYTHON_MODBUS_TK_LICENSE = LGPL-2.1-or-later
I know what you used is the SPDX standard tag, but in Buildroot, for historical reasons, we use LGPL-2.1+ and not LGPL-2.1-or-later.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v4 1/1 package/python-modbus-tk: new package
Hello Thomas,
Le 13/04/2020 ? 14:44, Thomas Petazzoni a ?crit?:
Quoted 8 lines
Hello,
Quoted 2 lines · On Tue, 17 Sep 2019 19:51:31 +0200 Pierre-Jean Texier <[email protected]>…
Signed-off-by Pierre-Jean Texier <[email protected]>Reviewed-by Yegor Yefremov <[email protected]>
Quoted 7 lines
I've applied after bumping to 1.1.0, and doing a small fix to the license information.
Quoted 1 line
+PYTHON_MODBUS_TK_LICENSE = LGPL-2.1-or-later
I know what you used is the SPDX standard tag, but in Buildroot, for historical reasons, we use LGPL-2.1+ and not LGPL-2.1-or-later.
Yes indeed, thanks for the clarification ;)
Pierre-Jean
Signature · 3 lines
Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io