package/python-pymodbus: switch back to github
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 22 Oct 2019 18:41:15 +0000 (20:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 22 Oct 2019 20:18:57 +0000 (22:18 +0200)
pypi tarball does not contain the license file so switch back to github
until upstream fixes this issue, see
https://github.com/riptideio/pymodbus/issues/401

Fixes:
 - http://autobuild.buildroot.org/results/6701b1e038b58fcd49240ceb7f972885e2e037aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-pymodbus/python-pymodbus.hash
package/python-pymodbus/python-pymodbus.mk

index c44f65e6fc1b68f26bd7882d134019a3c2f4c8b4..8fe31f9d71f09e0ab79b47c58a0a3dda2fda489f 100644 (file)
@@ -1,5 +1,4 @@
-# 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 locally computed
+sha256 088c7ece2a11cad652939719695c457f26f9148cd7d2f4a79872167925180ad5  pymodbus-2.2.0.tar.gz
+# Hash for license file
 sha256  796a47993313691ea404d8af7e4c0f9daf1d2760e3900938985b59c9008eee2f  doc/LICENSE
index 9905df514330c81e0727c6e52cb4adc44b87cdff..d96e21a55ca7d5ee9bf5bb7f0fd6ac87e94f3f23 100644 (file)
@@ -6,7 +6,7 @@
 
 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_SITE = $(call github,riptideio,pymodbus,v$(PYTHON_PYMODBUS_VERSION))
 PYTHON_PYMODBUS_SETUP_TYPE = setuptools
 PYTHON_PYMODBUS_LICENSE = BSD-3-Clause
 PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE