From nobody Sat May 27 23:50:57 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTJTG0mqhz4Wy7H; Sat, 27 May 2023 23:50:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTJTF6tRpz3MmT; Sat, 27 May 2023 23:50:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231458; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+elSe5b0MVgyr+AeVZJ9zME8ISxBL7wW8O1Bq+uIIoE=; b=eOrfsCS09gwIN3A/ZYWDRKGm2lukqqQohBwgB8uc97icYx/lHEFdYaHugUJ80/31SOSlE0 m6BRQBjdx9AEIWj7sfNSbiN9ucePk7/jHPZWdaxaWUXDF/pJnXMj/RT7CUcLhcZscOcDO2 f1spM14jlDwjyrMgU2nEA0PYnoxy5TodPTJJAt5wXeSur6jNgXobelh/TN80V+I7uPNC6s U3sQjYWTc1FMI7RrqfojJS9q+qF3WfCiNdWRlJBuJ+1AKVurUbkjB59/OKIPwpZlQLBBr7 Ao1KEmyAWJ+Kk3JvV73GIYeFOJGMWy21qj59BOqeMvr0Y3UUjGNJ+juKDVHHsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685231458; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+elSe5b0MVgyr+AeVZJ9zME8ISxBL7wW8O1Bq+uIIoE=; b=OEkOBg5P7h1pGjr2n+j/52zluP1kcZYA5ZBl8Psq+pOIEZlHnZ5WtuNm0Y84tsox8+79nI SYb6R+C8cq+OwiJU+Dr5MKdUxj9iecorlJhHTFsTZenvdMGXDmwQ166/tpt2Ync5Ibo4Z/ DegLBHRTOJBh4yiXcQ9o+vefd4X7M1zVp9poTMXhmJby2q3KvPy1gsQGwSCOlg7n7Ljwn9 eWm3TpbiOuNrhwcAafBQu4s4/+X7+Gxmnq1pZ/nGsXuSlB5KdYr+Vd2fROvSBlj6M9vG4t tjBTQEnLPuNUhYb8Idvw/piBOi8nUyCoUwyUQMwfjISbTghhz+7dLO8DoYlQtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685231458; a=rsa-sha256; cv=none; b=h5r6taTzka7OR2yCUuKSPv9ZBpYvKuWyOmKXrjAYamYwzBxY8aFFDuunnZtavPVd4jboGZ A8gkwcpsY6xGcJVKbicmKNpjw9brtkZ3gRC5Ow1+q/5FLFjTDtzOZhH/JdyLdNCgWucrSf wK9bHwetP2VDFTfo4+WPcYdq3FQ9kXjYH1cFbLOhzOWWFh1rR8m0g9EiCLCxpUAhidCSAR cRY/O5ZP8O1FkvRfWUW+dZa/rsZ2jTKmQwGiiN/lPNELS9mHZOu1yTqkMVWBOzMmBr6szH IAB4Vx0Y1I31hXrb4P+MyhHswpRwftNipXOPwChK1hZPry1e4NU5svHFxdIJ9Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTJTF5j0mz17S5; Sat, 27 May 2023 23:50:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34RNovuD052943; Sat, 27 May 2023 23:50:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34RNovnn052917; Sat, 27 May 2023 23:50:57 GMT (envelope-from git) Date: Sat, 27 May 2023 23:50:57 GMT Message-Id: <202305272350.34RNovnn052917@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2a1380e0bb51 - main - devel/py-py3nvml: Add py-py3nvml 0.2.7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2a1380e0bb519dc9447b3a9052efb416c797f692 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a1380e0bb519dc9447b3a9052efb416c797f692 commit 2a1380e0bb519dc9447b3a9052efb416c797f692 Author: Po-Chuan Hsieh AuthorDate: 2023-05-27 23:18:16 +0000 Commit: Po-Chuan Hsieh 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 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.