wok-6.x view python-aeroolib/receipt @ rev 24699
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 13 19:47:29 2022 +0000 (2022-03-13) |
parents | 5d50a02468c7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-aeroolib"
4 SOURCE="aeroolib"
5 VERSION="1.0.0"
6 CATEGORY="misc"
7 SHORT_DESC="A report creation library for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://launchpad.net/aeroolib"
12 WGET_URL="$WEB_SITE/trunk/$VERSION/+download/$SOURCE.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest version is /!d;s|.* is ||;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 cp -a $install/* $fs
35 }