* Update dependency list.
* Take tarball from PyPI.
* Add hash for license file.
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
config BR2_PACKAGE_PYTHON_PYMODBUS
bool "python-pymodbus"
select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_SERIAL # runtime
help
Pymodbus is a full Modbus protocol implementation.
-# sha256 locally computed
-sha256 e33bd0dfbd2cbd4dbc686ca87f809aebb7d72e940eb5846d5d38bb0f3371b26a python-pymodbus-1.4.0.tar.gz
+# md5, sha256 from https://pypi.org/pypi/pymodbus/json
+md5 8842c91cfc5704f8208ce83d233ce947 pymodbus-2.2.0.tar.gz
+sha256 f30bc17c5f0affb017215f28c04c669fcb9f2947a1e1da57984e4854c04cf852 pymodbus-2.2.0.tar.gz
+# Locally computed sha256 checksums
sha256 796a47993313691ea404d8af7e4c0f9daf1d2760e3900938985b59c9008eee2f doc/LICENSE
#
################################################################################
-PYTHON_PYMODBUS_VERSION = 1.4.0
-PYTHON_PYMODBUS_SITE = $(call github,riptideio,pymodbus,v$(PYTHON_PYMODBUS_VERSION))
+PYTHON_PYMODBUS_VERSION = 2.2.0
+PYTHON_PYMODBUS_SOURCE = pymodbus-$(PYTHON_PYMODBUS_VERSION).tar.gz
+PYTHON_PYMODBUS_SITE = https://files.pythonhosted.org/packages/d5/24/9d24899fd9fbea9e9bde5d0073e00649e7eb6f3bbec2bc1fec8df282fa53
PYTHON_PYMODBUS_SETUP_TYPE = setuptools
PYTHON_PYMODBUS_LICENSE = BSD-3-Clause
PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE