aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-04-27 01:10:20 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-27 01:42:40 +0000
commit771377e614f277b901214806398a7714a8ad1d9f (patch)
tree77cd45213628ffd728f2e4ab2d170ed664aa2be8
parentdc61470677e1276f07b4a902a7e3b127e8739d72 (diff)
downloadports-771377e614f277b901214806398a7714a8ad1d9f.tar.gz
ports-771377e614f277b901214806398a7714a8ad1d9f.zip
devel/py-pynvml: New port: Python Bindings for the NVIDIA Management Library
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pynvml/Makefile19
-rw-r--r--devel/py-pynvml/distinfo3
-rw-r--r--devel/py-pynvml/pkg-descr1
4 files changed, 24 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 88768173aab7..70dde13ecc57 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5400,6 +5400,7 @@
SUBDIR += py-pymsgbox
SUBDIR += py-pymtbl
SUBDIR += py-pynest2d
+ SUBDIR += py-pynvml
SUBDIR += py-pyopencl
SUBDIR += py-pyparsing
SUBDIR += py-pyparsing2
diff --git a/devel/py-pynvml/Makefile b/devel/py-pynvml/Makefile
new file mode 100644
index 000000000000..1cbe1ed72049
--- /dev/null
+++ b/devel/py-pynvml/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= pynvml
+PORTVERSION= 11.5.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Python Bindings for the NVIDIA Management Library
+WWW= https://github.com/gpuopenanalytics/pynvml
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pynvml/distinfo b/devel/py-pynvml/distinfo
new file mode 100644
index 000000000000..7a19f6fb04a0
--- /dev/null
+++ b/devel/py-pynvml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714179661
+SHA256 (pynvml-11.5.0.tar.gz) = d027b21b95b1088b9fc278117f9f61b7c67f8e33a787e9f83f735f0f71ac32d0
+SIZE (pynvml-11.5.0.tar.gz) = 70250
diff --git a/devel/py-pynvml/pkg-descr b/devel/py-pynvml/pkg-descr
new file mode 100644
index 000000000000..1774b8358189
--- /dev/null
+++ b/devel/py-pynvml/pkg-descr
@@ -0,0 +1 @@
+pynvml provides Python access to the NVML library for GPU diagnostics.