wok annotate locustio/receipt @ rev 24186

updated perl-compress-raw-bzip2 (2.093 -> 2.101)
author Hans-G?nter Theisgen
date Fri Dec 31 14:11:33 2021 +0100 (2021-12-31)
parents 5ea0ce1cecc0
children
rev   line source
pascal@22356 1 # SliTaz package receipt.
pascal@22356 2
pascal@22356 3 PACKAGE="locustio"
pascal@22356 4 VERSION="0.13.2"
pascal@22356 5 CATEGORY="misc"
pascal@22356 6 SHORT_DESC="Scalable user load testing tool"
pascal@22356 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22356 8 LICENSE="MIT"
pascal@22356 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22356 10 WEB_SITE="https://locust.io/"
pascal@22356 11 WGET_URL="https://github.com/locustio/locust/archive/$VERSION.tar.gz"
pascal@22356 12 TAGS="python"
pascal@22356 13
pascal@22356 14 DEPENDS="python"
pascal@22357 15 BUILD_DEPENDS="python-setuptools"
pascal@22356 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24079 19 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
pascal@24079 20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@22356 23 # Rules to configure and make the package.
pascal@22356 24 compile_rules()
pascal@22356 25 {
pascal@22356 26 python setup.py install --root=$DESTDIR
pascal@22356 27 }
pascal@22356 28
pascal@22356 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22356 30 genpkg_rules()
pascal@22356 31 {
pascal@22356 32 cp -a $install/usr $fs
pascal@22356 33 }