summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-10-05 02:55:09 -0500
committerGitHub <noreply@github.com>2020-10-05 09:55:09 +0200
commit1450038f9294a3272b372c6cddf3a47225b972d3 (patch)
tree6948ee421a7a6f6603d554856d5f3570a823fbab /var
parent3e7d9b42795f1614d3b18a9e340f674ca890a0bc (diff)
downloadspack-1450038f9294a3272b372c6cddf3a47225b972d3.tar.gz
spack-1450038f9294a3272b372c6cddf3a47225b972d3.tar.bz2
spack-1450038f9294a3272b372c6cddf3a47225b972d3.tar.xz
spack-1450038f9294a3272b372c6cddf3a47225b972d3.zip
py-gpustat: added new package at v0.6.0 (#18999)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gpustat/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gpustat/package.py b/var/spack/repos/builtin/packages/py-gpustat/package.py
new file mode 100644
index 0000000000..1bfab1ba35
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gpustat/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyGpustat(PythonPackage):
+ """An utility to monitor NVIDIA GPU status and usage."""
+
+ homepage = "https://github.com/wookayin/gpustat"
+ url = "https://pypi.io/packages/source/g/gpustat/gpustat-0.6.0.tar.gz"
+
+ version('0.6.0', sha256='f69135080b2668b662822633312c2180002c10111597af9631bb02e042755b6c')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest-runner', type='build')
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-nvidia-ml-py@7.352.0:', when='^python@:2', type=('build', 'run'))
+ depends_on('py-nvidia-ml-py3@7.352.0:', when='^python@3:', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
+ depends_on('py-blessings@1.6:', type=('build', 'run'))
+ depends_on('py-mock@2:', type='test')
+ depends_on('py-pytest@:4', type='test')