# SliTaz package receipt. PACKAGE="buildbot-slave" VERSION="0.8.14" CATEGORY="development" TAGS="python buildtools" SHORT_DESC="Tool to automate the compile and test cycle of source code (slave part)." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.buildbot.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://pypi.python.org/packages/source/b/$PACKAGE/$TARBALL" DEPENDS="python twisted" BUILD_DEPENDS="python python-dev" # What is the latest version available today? current_version() { wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR cook_pick_manpages docs/buildslave.1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }