Browse Source

python-webpy: add a hash file and use pypi download location

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov 9 years ago
parent
commit
f841880be1
2 changed files with 5 additions and 1 deletions
  1. 3 0
      package/python-webpy/python-webpy.hash
  2. 2 1
      package/python-webpy/python-webpy.mk

+ 3 - 0
package/python-webpy/python-webpy.hash

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

+ 2 - 1
package/python-webpy/python-webpy.mk

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