wok-current annotate buildbot-slave/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | c52d68d75000 |
children |
rev | line source |
---|---|
slaxemulator@7644 | 1 # SliTaz package receipt. |
slaxemulator@7644 | 2 |
slaxemulator@7644 | 3 PACKAGE="buildbot-slave" |
Hans-G?nter@22567 | 4 VERSION="0.8.14" |
slaxemulator@7644 | 5 CATEGORY="development" |
Hans-G?nter@22567 | 6 TAGS="python buildtools" |
Hans-G?nter@22567 | 7 SHORT_DESC="Tool to automate the compile and test cycle of source code (slave part)." |
slaxemulator@7644 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL2" |
Hans-G?nter@22567 | 10 WEB_SITE="https://www.buildbot.net/" |
Hans-G?nter@22567 | 11 |
slaxemulator@7644 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22567 | 13 WGET_URL="https://pypi.python.org/packages/source/b/$PACKAGE/$TARBALL" |
pascal@15579 | 14 |
slaxemulator@7644 | 15 DEPENDS="python twisted" |
slaxemulator@7644 | 16 BUILD_DEPENDS="python python-dev" |
slaxemulator@7644 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
slaxemulator@7644 | 25 # Rules to configure and make the package. |
slaxemulator@7644 | 26 compile_rules() |
slaxemulator@7644 | 27 { |
slaxemulator@11073 | 28 python setup.py install --root=$DESTDIR |
al@19288 | 29 cook_pick_manpages docs/buildslave.1 |
slaxemulator@7644 | 30 } |
slaxemulator@7644 | 31 |
slaxemulator@7644 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7644 | 33 genpkg_rules() |
slaxemulator@7644 | 34 { |
pascal@15579 | 35 cp -a $install/usr $fs |
slaxemulator@7644 | 36 } |