aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gasiba <tiga@FreeBSD.org>2026-02-04 22:56:55 +0000
committerTiago Gasiba <tiga@FreeBSD.org>2026-02-05 22:14:45 +0000
commitbf0cbcb1bc12a3b98d1ed95480a3cd25a27c12f3 (patch)
tree5ce79681ef5c3adfb909d2217bf834eca72dadb2
parent8127a68cacd6c7ec02d310836ea452e24f1e8b35 (diff)
sysutils/py-nvitop: New port: Interactive NVIDIA-GPU process viewer
An interactive NVIDIA-GPU process viewer and beyond, the one-stop solution for GPU process management. WWW: https://github.com/XuehaiPan/nvitop PR: 289083 Approved by: eduardo (mentor)
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/py-nvitop/Makefile25
-rw-r--r--sysutils/py-nvitop/distinfo3
-rw-r--r--sysutils/py-nvitop/pkg-descr5
4 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 3a5c9026bf83..3f1c201e5ade 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1083,6 +1083,7 @@
SUBDIR += py-mitogen
SUBDIR += py-mqttwarn
SUBDIR += py-nagiosplugin
+ SUBDIR += py-nvitop
SUBDIR += py-overlord
SUBDIR += py-packet-python
SUBDIR += py-pkginfo
diff --git a/sysutils/py-nvitop/Makefile b/sysutils/py-nvitop/Makefile
new file mode 100644
index 000000000000..240d83753509
--- /dev/null
+++ b/sysutils/py-nvitop/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= nvitop
+PORTVERSION= 1.6.2
+CATEGORIES= sysutils python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tiga@FreeBSD.org
+COMMENT= Interactive NVIDIA-GPU process viewer
+WWW= https://github.com/XuehaiPan/nvitop
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nvidia_ml_py>0:devel/py-nvidia-ml-py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
+
+USES= ncurses python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-nvitop/distinfo b/sysutils/py-nvitop/distinfo
new file mode 100644
index 000000000000..afa5fc10c9d8
--- /dev/null
+++ b/sysutils/py-nvitop/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1770245752
+SHA256 (nvitop-1.6.2.tar.gz) = 267b341b66ac3819f116ad11819f4da2e121fe2be1dde979026b6526966211e9
+SIZE (nvitop-1.6.2.tar.gz) = 221935
diff --git a/sysutils/py-nvitop/pkg-descr b/sysutils/py-nvitop/pkg-descr
new file mode 100644
index 000000000000..37fed1263492
--- /dev/null
+++ b/sysutils/py-nvitop/pkg-descr
@@ -0,0 +1,5 @@
+nvitop is an interactive NVIDIA device and process monitoring tool. It has a
+colorful and informative interface that continuously updates the status of
+the devices and processes. As a resource monitor, it includes many features
+and options, such as tree-view, environment variable viewing, process filtering,
+process metrics monitoring.