wok-current view python-aeroolib/receipt @ rev 25434
Up znc (1.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 10:14:47 2022 +0000 (2022-08-29) |
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 }