package/python-dpkt: bump to version 1.9.2
authorAsaf Kahlon <asafka7@gmail.com>
Tue, 8 Oct 2019 13:08:10 +0000 (16:08 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 8 Oct 2019 20:42:24 +0000 (22:42 +0200)
* Add hash for license file.
* Take tarball from PyPi (instead of Github).
* Update _SETUP_TYPE to setuptools.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-dpkt/python-dpkt.hash
package/python-dpkt/python-dpkt.mk

index db46016d08858f1649c04c46b44f43b24ae3c41a..b8b53fd04b3c09d7936322e5f7a08df2aec4d101 100644 (file)
@@ -1,2 +1,5 @@
-# locally computed
-sha256  33a98fd44eb0b6dfa6790c0fcef4d7e73a5cc12a664ea3c30f4d3c2b95f5efc4  python-dpkt-1.8.r98.tar.gz
+# md5, sha256 from https://pypi.org/pypi/dpkt/json
+md5    b204a5434fe29749de539150e00e762e  dpkt-1.9.2.tar.gz
+sha256 52a92ecd5ca04d5bd852bb11cb2eac4bbe38b42a7c472e0d950eeb9f82a81e54  dpkt-1.9.2.tar.gz
+# Locally computed sha256 checksums
+sha256 4c5ffde575425591cbd51410219a6b98bbbb717e0c5784187e356653da8e5095  LICENSE
index 9694b9e62e1af02bb17dc57b2fee1cdad5e3b8be..aade014f68b7c5f4eff49539a5a44dce8192d0d3 100644 (file)
@@ -4,9 +4,10 @@
 #
 ################################################################################
 
-PYTHON_DPKT_VERSION = 1.8.r98
-PYTHON_DPKT_SITE = $(call github,kbandla,dpkt,$(PYTHON_DPKT_VERSION))
-PYTHON_DPKT_SETUP_TYPE = distutils
+PYTHON_DPKT_VERSION = 1.9.2
+PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz
+PYTHON_DPKT_SITE = https://files.pythonhosted.org/packages/1c/25/0aebea939ea70d31a7ff8884e5ca577eddb9cfeac626398fe782d4e2f6a2
+PYTHON_DPKT_SETUP_TYPE = setuptools
 PYTHON_DPKT_LICENSE = BSD-3-Clause
 PYTHON_DPKT_LICENSE_FILES = LICENSE