yandex-tank/data/PKGBUILD
2016-03-16 12:15:17 +03:00

25 lines
709 B
Bash

# Maintainer: Konstantin Shalygin (k0ste@opentech.ru)
pkgname='yandex-tank'
pkgver='1.7.10'
pkgrel='1'
pkgdesc='Performance measurement tool'
arch=('any')
url='https://github.com/yandex/yandex-tank'
license=('GPL')
depends=('python2' 'python2-psutil' 'python2-ipaddr' 'phantom-engine-git')
source=("http://ppa.launchpad.net/yandex-load/main/ubuntu/pool/main/y/yandextank/yandextank_${pkgver}.tar.gz")
sha256sums=("5c2d9d948e1583183a623f430bf0b5327baca4fcbc9d7893f230b364a7aedc70")
build() {
cd "$srcdir/$pkgname"
python2 setup.py build
}
package() {
pushd "$srcdir/$pkgname"
python2 setup.py install -O1 --root="$pkgdir"
install -Dm644 "COPYING" "$pkgdir/usr/share/doc/$pkgname/COPYING"
popd
}