wok view buildbot-slave/receipt @ rev 25130
e4rat: modified recipe
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 07:04:49 2022 +0100 (2022-06-29) |
parents | c52d68d75000 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="buildbot-slave"
4 VERSION="0.8.14"
5 CATEGORY="development"
6 TAGS="python buildtools"
7 SHORT_DESC="Tool to automate the compile and test cycle of source code (slave part)."
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://pypi.python.org/packages/source/b/$PACKAGE/$TARBALL"
15 DEPENDS="python twisted"
16 BUILD_DEPENDS="python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 cook_pick_manpages docs/buildslave.1
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }