package/python-minimalmodbus: new package
PATCH v3 1/1 package/python-minimalmodbus: new package
Easy-to-use Modbus RTU and Modbus ASCII implementation for Python.
Signed-off-by Angelo Compagnucci <[email protected]>
---
V2:
* Adding me to DEVELOPERS
V3:
* Move to pypi (Marcus Hoffmann)
DEVELOPERS | 1 + package/Config.in | 1 + package/python-minimalmodbus/Config.in | 7 +++++++ .../python-minimalmodbus/python-minimalmodbus.hash | 4 ++++ .../python-minimalmodbus/python-minimalmodbus.mk | 14 ++++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/python-minimalmodbus/Config.in create mode 100644 package/python-minimalmodbus/python-minimalmodbus.hash create mode 100644 package/python-minimalmodbus/python-minimalmodbus.mk
DEVELOPERS +1 -0
@@ -173,6 +173,7 @@ F: package/mono-gtksharp3/ F: package/monolite/ F: package/openjpeg/ F: package/python-can/ +F: package/python-minimalmodbus/ F: package/python-pillow/ F: package/python-pydal/ F: package/python-spidev/
package/Config.in +1 -0
@@ -1112,6 +1112,7 @@ menu "External python modules" source "package/python-mbstrdecoder/Config.in" source "package/python-memory-profiler/Config.in" source "package/python-mimeparse/Config.in" + source "package/python-minimalmodbus/Config.in" source "package/python-mistune/Config.in" source "package/python-modbus-tk/Config.in" source "package/python-more-itertools/Config.in"
package/python-minimalmodbus/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MINIMALMODBUS + bool "python-minimalmodbus" + select BR2_PACKAGE_PYTHON_SERIAL # runtime + help + Easy-to-use Modbus RTU and Modbus ASCII implementation. + + https://minimalmodbus.readthedocs.io/
package/python-minimalmodbus/python-minimalmodbus.hash new file +4 -0
@@ -0,0 +1,4 @@ +# sha256 from https://pypi.org/project/minimalmodbus +sha256 cf873a2530be3f4b86467c3e4d47b5f69fd345d47451baca4adbf59e2ac36d00 minimalmodbus-2.0.1.tar.gz +# Hash for license file +sha256 abe787d472ae2069e935c84eb13fd770518dfb08b92d5f190f3cd7ff6d1f6f32 LICENSE
package/python-minimalmodbus/python-minimalmodbus.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-minimalmodbus +# +################################################################################ + +PYTHON_MINIMALMODBUS_VERSION = 2.0.1 +PYTHON_MINIMALMODBUS_SOURCE = minimalmodbus-$(PYTHON_MINIMALMODBUS_VERSION).tar.gz +PYTHON_MINIMALMODBUS_SITE = https://files.pythonhosted.org/packages/78/99/8cd22b4465e697bae2b02fd06aaccd4c5cdfbb18945d728db99f23d71df9 +PYTHON_MINIMALMODBUS_SETUP_TYPE = setuptools +PYTHON_MINIMALMODBUS_LICENSE = Apache License 2.0 +PYTHON_MINIMALMODBUS_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines · On Wed, 19 Oct 2022 15:35:11 +0200 Angelo Compagnucci…
Easy-to-use Modbus RTU and Modbus ASCII implementation for Python.
Signed-off-by Angelo Compagnucci <[email protected]>
Applied t master with one change, see below.
Quoted 1 line
+PYTHON_MINIMALMODBUS_LICENSE = Apache License 2.0
This is not a valid SPDX identifier. The correct identifier is Apache-2.0.
Committed with this fixed. Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot