# Maintainer: jakob pkgname=nvitop pkgver=1.3.2 pkgrel=1 pkgdesc="Interactive NVIDIA-GPU process viewer and GPU process management" arch=(any) url="https://github.com/XuehaiPan/nvitop" license=('GPL3') depends=( python # There are several packages that provide the "pynvml" module: # python-pynvml and python-nvidia-ml-py # Recently (v0.10.0) the author of nvitop started to use private functions of # python-nvidia-ml-py that python-pynvml doesn't provide. This was partly fixed in # https://github.com/XuehaiPan/nvitop/issues/44 but still shows a warning. # The problem is that python-nvidia-ml-py pulls in CUDA, a 5GiB dependency. # Until this is resolved I'd rather go with the warning than waste that much disk # space, because nvitop seems to work just the same (for me) with python-pynvml. # Feedback welcome! python-pynvml python-psutil python-cachetools python-termcolor ncurses ) makedepends=('python-setuptools') source=("https://github.com/XuehaiPan/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('cf3e1ddf54ce2b4acf8ab25e84a5d596a0b98bc4d5b711eb0d256b3cab22ce23') package() { cd "$pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 }