python-webpy: add a hash file and use pypi download location
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 14 Dec 2015 08:25:57 +0000 (09:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Dec 2015 16:59:46 +0000 (17:59 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-webpy/python-webpy.hash [new file with mode: 0644]
package/python-webpy/python-webpy.mk

diff --git a/package/python-webpy/python-webpy.hash b/package/python-webpy/python-webpy.hash
new file mode 100644 (file)
index 0000000..05ee808
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=93375e3f03e74d6bf5c5096a4962a8db, sha256 locally computed
+md5     93375e3f03e74d6bf5c5096a4962a8db  web.py-0.37.tar.gz
+sha256  748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550  web.py-0.37.tar.gz
index ef5b6b3d78f6ee744fb8b32af92220d03289bb91..2074b3921b0f8ab28ada4a96f38ed4d11f2df6b4 100644 (file)
@@ -5,7 +5,8 @@
 ################################################################################
 
 PYTHON_WEBPY_VERSION = 0.37
-PYTHON_WEBPY_SITE = $(call github,webpy,webpy,webpy-$(PYTHON_WEBPY_VERSION))
+PYTHON_WEBPY_SOURCE = web.py-$(PYTHON_WEBPY_VERSION).tar.gz
+PYTHON_WEBPY_SITE = https://pypi.python.org/packages/source/w/web.py
 PYTHON_WEBPY_SETUP_TYPE = distutils
 PYTHON_WEBPY_LICENSE = Public Domain, CherryPy License
 PYTHON_WEBPY_LICENSE_FILES = LICENSE.txt web/wsgiserver/LICENSE.txt