浏览代码

package/python-webpy: fix licensing information

The license files defined in the .mk do not exist in the release
tarball. However, they do exist in the git repository.

Since the git tree is rather small, switch to using it instead of the
released tarball.

Fixes:
    http://autobuild.buildroot.org/results/d94/d944f36220326510c15685efe19075e90e72a5c3/
    http://autobuild.buildroot.org/results/14f/14f411ef29cbf0ba8cf4a4fed71556eacc96eb04/
    and many others...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN 9 年之前
父节点
当前提交
85854ac8b3
共有 2 个文件被更改,包括 4 次插入6 次删除
  1. 2 3
      package/python-webpy/python-webpy.hash
  2. 2 3
      package/python-webpy/python-webpy.mk

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

@@ -1,3 +1,2 @@
-# 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
+# Locally computed
+sha256  c3cb8930739294103b1ad109e5fd1d0efae67c06d5b6d59fce5b5a2ee6b21624  python-webpy-webpy-0.37.tar.gz

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

@@ -4,9 +4,8 @@
 #
 #
 ################################################################################
 ################################################################################
 
 
-PYTHON_WEBPY_VERSION = 0.37
-PYTHON_WEBPY_SOURCE = web.py-$(PYTHON_WEBPY_VERSION).tar.gz
-PYTHON_WEBPY_SITE = https://pypi.python.org/packages/source/w/web.py
+PYTHON_WEBPY_VERSION = webpy-0.37
+PYTHON_WEBPY_SITE = $(call github,webpy,webpy,$(PYTHON_WEBPY_VERSION))
 PYTHON_WEBPY_SETUP_TYPE = distutils
 PYTHON_WEBPY_SETUP_TYPE = distutils
 PYTHON_WEBPY_LICENSE = Public Domain, CherryPy License
 PYTHON_WEBPY_LICENSE = Public Domain, CherryPy License
 PYTHON_WEBPY_LICENSE_FILES = LICENSE.txt web/wsgiserver/LICENSE.txt
 PYTHON_WEBPY_LICENSE_FILES = LICENSE.txt web/wsgiserver/LICENSE.txt