git: 2a1380e0bb51 - main - devel/py-py3nvml: Add py-py3nvml 0.2.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 23:50:57 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a1380e0bb519dc9447b3a9052efb416c797f692 commit 2a1380e0bb519dc9447b3a9052efb416c797f692 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 23:18:16 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 23:43:36 +0000 devel/py-py3nvml: Add py-py3nvml 0.2.7 Python 3 compatible bindings to the NVIDIA Management Library. Can be used to query the state of the GPUs on your system. This was ported from the NVIDIA provided python bindings nvidia-ml-py, which only supported python 2. --- devel/Makefile | 1 + devel/py-py3nvml/Makefile | 21 +++++++++++++++++++++ devel/py-py3nvml/distinfo | 3 +++ devel/py-py3nvml/pkg-descr | 3 +++ 4 files changed, 28 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6a60af3bf0bc..3cbd944e6e2f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5175,6 +5175,7 @@ SUBDIR += py-py SUBDIR += py-py-partiql-parser SUBDIR += py-py-ubjson + SUBDIR += py-py3nvml SUBDIR += py-pyTooling SUBDIR += py-py_interface SUBDIR += py-pyasn1 diff --git a/devel/py-py3nvml/Makefile b/devel/py-py3nvml/Makefile new file mode 100644 index 000000000000..d9326bbc1097 --- /dev/null +++ b/devel/py-py3nvml/Makefile @@ -0,0 +1,21 @@ +PORTNAME= py3nvml +PORTVERSION= 0.2.7 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python 3 Bindings for the NVIDIA Management Library +WWW= https://github.com/fbcotter/py3nvml + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-py3nvml/distinfo b/devel/py-py3nvml/distinfo new file mode 100644 index 000000000000..63a00e060c08 --- /dev/null +++ b/devel/py-py3nvml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685162016 +SHA256 (py3nvml-0.2.7.tar.gz) = 09ee1d04598a6e664e24465f804ce3bfe119a6fdb5362df1c168f8aa929fbd73 +SIZE (py3nvml-0.2.7.tar.gz) = 58224 diff --git a/devel/py-py3nvml/pkg-descr b/devel/py-py3nvml/pkg-descr new file mode 100644 index 000000000000..a893a8ecb94d --- /dev/null +++ b/devel/py-py3nvml/pkg-descr @@ -0,0 +1,3 @@ +Python 3 compatible bindings to the NVIDIA Management Library. Can be used to +query the state of the GPUs on your system. This was ported from the NVIDIA +provided python bindings nvidia-ml-py, which only supported python 2.