blob: e57192b29c053a8111e945664ee66c391505e964 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: jakob <grandchild@gmx.net>
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
}
|