package/python-minimalmodbus: new package

Easy-to-use Modbus RTU and Modbus ASCII implementation for Python.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Angelo Compagnucci 2022-10-19 15:35:11 +02:00 committed by Thomas Petazzoni
parent 5b3b2d80f4
commit 30df48b207
5 changed files with 27 additions and 0 deletions

View File

@ -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/

View File

@ -1116,6 +1116,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"

View File

@ -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/

View File

@ -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

View File

@ -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-2.0
PYTHON_MINIMALMODBUS_LICENSE_FILES = LICENSE
$(eval $(python-package))