git: ca68598157ce - main - sysutils/py-GPUtil: New port: Python module for getting GPU status from NVIDIA GPUs using nvidia-smi

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 19 Jun 2026 06:37:14 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ca68598157ceae2243afc7cfe3211709aec4a129

commit ca68598157ceae2243afc7cfe3211709aec4a129
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-19 05:30:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-19 06:36:59 +0000

    sysutils/py-GPUtil: New port: Python module for getting GPU status from NVIDIA GPUs using nvidia-smi
---
 sysutils/Makefile            |  1 +
 sysutils/py-GPUtil/Makefile  | 21 +++++++++++++++++++++
 sysutils/py-GPUtil/distinfo  |  3 +++
 sysutils/py-GPUtil/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 3d46dcf45b61..9dbdf10e479a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1043,6 +1043,7 @@
     SUBDIR += pwol
     SUBDIR += pwsafe
     SUBDIR += pxattr
+    SUBDIR += py-GPUtil
     SUBDIR += py-ansible-compat
     SUBDIR += py-ansible-core
     SUBDIR += py-ansible-core218
diff --git a/sysutils/py-GPUtil/Makefile b/sysutils/py-GPUtil/Makefile
new file mode 100644
index 000000000000..cff436b76033
--- /dev/null
+++ b/sysutils/py-GPUtil/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	GPUtil
+PORTVERSION=	1.4.0
+CATEGORIES=	sysutils python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python module for getting GPU status from NVIDIA GPUs using nvidia-smi
+WWW=		https://github.com/anderskm/gputil
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 concurrent autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-GPUtil/distinfo b/sysutils/py-GPUtil/distinfo
new file mode 100644
index 000000000000..3391f5fd94de
--- /dev/null
+++ b/sysutils/py-GPUtil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1781842763
+SHA256 (GPUtil-1.4.0.tar.gz) = 099e52c65e512cdfa8c8763fca67f5a5c2afb63469602d5dcb4d296b3661efb9
+SIZE (GPUtil-1.4.0.tar.gz) = 5545
diff --git a/sysutils/py-GPUtil/pkg-descr b/sysutils/py-GPUtil/pkg-descr
new file mode 100644
index 000000000000..d5b98914fba5
--- /dev/null
+++ b/sysutils/py-GPUtil/pkg-descr
@@ -0,0 +1,2 @@
+GPUtil is a Python module for getting the GPU status from NVIDIA GPUs
+using nvidia-smi.