wok annotate python-pyweb/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (10 days ago) |
parents | 7c6901d3cd44 |
children |
rev | line source |
---|---|
pascal@14184 | 1 # SliTaz package receipt. |
pascal@14184 | 2 |
pascal@14184 | 3 PACKAGE="python-pyweb" |
Hans-G?nter@25232 | 4 VERSION="0.51" |
pascal@14184 | 5 CATEGORY="development" |
pascal@14184 | 6 SHORT_DESC="A web framework for Python." |
pascal@14184 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="PublicDomain" |
Hans-G?nter@25232 | 9 WEB_SITE="https://pypi.org/project/web.py/" |
Hans-G?nter@25232 | 10 REPOLOGY="python:web.py" |
Hans-G?nter@25232 | 11 |
Hans-G?nter@25232 | 12 SOURCE="web.py" |
pascal@14184 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25232 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15611 | 15 |
pascal@14184 | 16 DEPENDS="python" |
Hans-G?nter@25232 | 17 BUILD_DEPENDS="python python-setuptools" |
pascal@14184 | 18 |
pascal@24459 | 19 # What is the latest version available today? |
pascal@24459 | 20 current_version() |
pascal@24459 | 21 { |
pascal@24459 | 22 wget -O - https://github.com/webpy/webpy/releases 2>/dev/null | \ |
pascal@25601 | 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24459 | 24 } |
pascal@24459 | 25 |
pascal@14184 | 26 # Rules to configure and make the package. |
pascal@14184 | 27 compile_rules() |
pascal@14184 | 28 { |
Hans-G?nter@25232 | 29 python setup.py build && |
pascal@14184 | 30 python setup.py install --root=$DESTDIR |
pascal@14184 | 31 } |
pascal@14184 | 32 |
pascal@14184 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14184 | 34 genpkg_rules() |
pascal@14184 | 35 { |
Hans-G?nter@25232 | 36 cook_copy_folders lib |
pascal@14184 | 37 } |