wok-6.x rev 25232

updated python-pyweb (0.37 -> 0.51)
author Hans-G?nter Theisgen
date Wed Jul 13 17:11:49 2022 +0100 (2022-07-13)
parents b728d1374f69
children f3b390540324
files python-pyweb/description.txt python-pyweb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pyweb/description.txt	Wed Jul 13 17:11:49 2022 +0100
     1.3 @@ -0,0 +1,1 @@
     1.4 +Web.py is a web framework for Python that is as simple as it is powerful.
     2.1 --- a/python-pyweb/receipt	Wed Jul 13 17:07:13 2022 +0100
     2.2 +++ b/python-pyweb/receipt	Wed Jul 13 17:11:49 2022 +0100
     2.3 @@ -1,18 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="python-pyweb"
     2.7 -SOURCE="web.py"
     2.8 -VERSION="0.37"
     2.9 +VERSION="0.51"
    2.10  CATEGORY="development"
    2.11  SHORT_DESC="A web framework for Python."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="PublicDomain"
    2.14 +WEB_SITE="https://pypi.org/project/web.py/"
    2.15 +REPOLOGY="python:web.py"
    2.16 +
    2.17 +SOURCE="web.py"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19 -WEB_SITE="https://webpy.org/"
    2.20 -WGET_URL="${WEB_SITE}static/$TARBALL"
    2.21 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    2.22  
    2.23  DEPENDS="python"
    2.24 -BUILD_DEPENDS="python"
    2.25 +BUILD_DEPENDS="python python-setuptools"
    2.26  
    2.27  # What is the latest version available today?
    2.28  current_version()
    2.29 @@ -24,13 +26,12 @@
    2.30  # Rules to configure and make the package.
    2.31  compile_rules()
    2.32  {
    2.33 -	python setup.py build
    2.34 +	python setup.py build &&
    2.35  	python setup.py install --root=$DESTDIR
    2.36  }
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.39  genpkg_rules()
    2.40  {
    2.41 -	mkdir -p $fs/usr
    2.42 -	cp -a $install/usr/lib $fs/usr
    2.43 +	cook_copy_folders	lib
    2.44  }