# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=glances pkgver=3.1.3 pkgrel=0 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL-3.0-or-later" depends="py3-psutil py3-bottle py3-snmp py3-batinfo docker-py py3-future" subpackages="$pkgname-doc" source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz" options="!check" # tests fail on builder infra due to env. limitations build() { python3 setup.py build } check() { python3 unitest.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" # Remove images and HTML doc depending on those rm -rf "$pkgdir"/usr/share/doc/$pkgname/$pkgname-doc.html \ "$pkgdir"/usr/share/doc/$pkgname/images } sha512sums="7fcbfff9e94721de2dba5ce2e7a2899fab877283819dedd8e1d8c868f4fd6cb584887979379f7b7a50c0f3b2fec1e147db06afff267a8e8fa40ba189246beb79 glances-3.1.3.tar.gz"