blob: a7f0652e11d0fd31adb70bc678cd6d3b5a6bd89a (
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.0
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=('2cf49f9a5dcbe11ea838d3320708f5340f15e4449a131635e693cc948f66a9db')
package() {
cd "$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1
}
|