wok-current view buildbot/receipt @ rev 24079
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 09 10:46:05 2021 +0000 (2021-07-09) |
parents | 68cf96abc146 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="buildbot"
4 VERSION="2.5.1"
5 CATEGORY="development"
6 TAGS="python buildtools"
7 SHORT_DESC="Tool to automate the compile and test cycle of source code."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.buildbot.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="py3k twisted"
16 BUILD_DEPENDS="py3k py3k-dev python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/releases.tag/!d;s|.*/v\(.*\)".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python3 setup.py install --root=$DESTDIR
28 cook_pick_manpages docs/buildbot.1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -r $fs/usr/share/man
36 }