wok diff python-pyweb/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (18 months ago) |
parents | 2f230197370e |
children | 0262035dc1e7 |
line diff
1.1 --- a/python-pyweb/receipt Wed Feb 16 11:53:30 2022 +0000 1.2 +++ b/python-pyweb/receipt Thu Mar 09 18:12:54 2023 +0000 1.3 @@ -1,18 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="python-pyweb" 1.7 -SOURCE="web.py" 1.8 -VERSION="0.37" 1.9 +VERSION="0.51" 1.10 CATEGORY="development" 1.11 SHORT_DESC="A web framework for Python." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="PublicDomain" 1.14 +WEB_SITE="https://pypi.org/project/web.py/" 1.15 +REPOLOGY="python:web.py" 1.16 + 1.17 +SOURCE="web.py" 1.18 TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 -WEB_SITE="https://webpy.org/" 1.20 -WGET_URL="${WEB_SITE}static/$TARBALL" 1.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.22 1.23 DEPENDS="python" 1.24 -BUILD_DEPENDS="python" 1.25 +BUILD_DEPENDS="python python-setuptools" 1.26 1.27 # What is the latest version available today? 1.28 current_version() 1.29 @@ -24,13 +26,12 @@ 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - python setup.py build 1.34 + python setup.py build && 1.35 python setup.py install --root=$DESTDIR 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - mkdir -p $fs/usr 1.42 - cp -a $install/usr/lib $fs/usr 1.43 + cook_copy_folders lib 1.44 }