# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=glances pkgver=3.1.2 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="f9b839532d2b53edb9dfeac9abe8f5a9e314b7bdf34e54083614c02262bb15f0db745762f06b609071d2a6fead8b52eed16b6f5a569904ef56dafb41b85b991b glances-3.1.2.tar.gz"