wok-current view buildbot/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents bf28cc07ebf1
children
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 }