# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=glances pkgver=3.4.0.3 pkgrel=0 pkgdesc="CLI curses based monitoring tool" url="https://nicolargo.github.io/glances/" arch="noarch" license="LGPL-3.0-or-later" depends=" py3-batinfo py3-bottle py3-defusedxml py3-docker-py py3-future py3-packaging py3-psutil py3-snmp py3-ujson python3 " makedepends="py3-setuptools" subpackages="$pkgname-doc $pkgname-pyc" 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 --skip-build --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=" f4960d7d23b52e249069b41fd9b20a4d6f56006a6998b1bfd341ef00628fa92c14503885ebbea6adeee6f926a6c6fb440c288e2c772d4536b2c2b49e4124a7a0 glances-3.4.0.3.tar.gz "