# HG changeset patch # User Hans-G?nter Theisgen # Date 1657728709 -3600 # Node ID 7c6901d3cd44195b925872cb5c70651eed315034 # Parent b728d1374f690962631ba1bd2689de8d3aca1a8b updated python-pyweb (0.37 -> 0.51) diff -r b728d1374f69 -r 7c6901d3cd44 python-pyweb/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pyweb/description.txt Wed Jul 13 17:11:49 2022 +0100 @@ -0,0 +1,1 @@ +Web.py is a web framework for Python that is as simple as it is powerful. diff -r b728d1374f69 -r 7c6901d3cd44 python-pyweb/receipt --- a/python-pyweb/receipt Wed Jul 13 17:07:13 2022 +0100 +++ b/python-pyweb/receipt Wed Jul 13 17:11:49 2022 +0100 @@ -1,18 +1,20 @@ # SliTaz package receipt. PACKAGE="python-pyweb" -SOURCE="web.py" -VERSION="0.37" +VERSION="0.51" CATEGORY="development" SHORT_DESC="A web framework for Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PublicDomain" +WEB_SITE="https://pypi.org/project/web.py/" +REPOLOGY="python:web.py" + +SOURCE="web.py" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://webpy.org/" -WGET_URL="${WEB_SITE}static/$TARBALL" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python" -BUILD_DEPENDS="python" +BUILD_DEPENDS="python python-setuptools" # What is the latest version available today? current_version() @@ -24,13 +26,12 @@ # Rules to configure and make the package. compile_rules() { - python setup.py build + python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }