wok view python-pyweb/receipt @ rev 25165
updated python-caldav (0.6.2 -> 0.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 11:05:59 2022 +0100 (2022-07-01) |
parents | dab616728814 |
children | 7c6901d3cd44 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyweb"
4 SOURCE="web.py"
5 VERSION="0.37"
6 CATEGORY="development"
7 SHORT_DESC="A web framework for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PublicDomain"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://webpy.org/"
12 WGET_URL="${WEB_SITE}static/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/webpy/webpy/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }