summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMatthieu Dorier <mdorier@anl.gov>2022-01-04 18:20:57 +0100
committerGitHub <noreply@github.com>2022-01-04 11:20:57 -0600
commitc24bb6479253040a30e824d6430a2e32195591fd (patch)
tree224cb1bb3710b53c43a517bdbe81e37d477d6214 /var
parentcdb04931ab0b4184df21ef7d32120bee11369330 (diff)
downloadspack-c24bb6479253040a30e824d6430a2e32195591fd.tar.gz
spack-c24bb6479253040a30e824d6430a2e32195591fd.tar.bz2
spack-c24bb6479253040a30e824d6430a2e32195591fd.tar.xz
spack-c24bb6479253040a30e824d6430a2e32195591fd.zip
[py-gpustat] Added new version (#28135)
* [py-gpustat] Added new version * [py-gpustat] marking 0.6.0 as preferred * [py-gpustat] updated dependencies * [py-gpustat] added dependency on python 3.4+ * [py-gpustat] corrected dependency to py-pytest-runner
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-gpustat/package.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-gpustat/package.py b/var/spack/repos/builtin/packages/py-gpustat/package.py
index 740af6eb55..b6a5b26c95 100644
--- a/var/spack/repos/builtin/packages/py-gpustat/package.py
+++ b/var/spack/repos/builtin/packages/py-gpustat/package.py
@@ -10,12 +10,18 @@ class PyGpustat(PythonPackage):
homepage = "https://github.com/wookayin/gpustat"
pypi = "gpustat/gpustat-0.6.0.tar.gz"
- version('0.6.0', sha256='f69135080b2668b662822633312c2180002c10111597af9631bb02e042755b6c')
+ version('1.0.0b1', sha256='a25c460c5751180265814f457249ba5100baf7a055b23ad762a4e3ab3f6496dd')
+ version('0.6.0', sha256='f69135080b2668b662822633312c2180002c10111597af9631bb02e042755b6c',
+ preferred=True)
+ depends_on('python@3.4:', when='@1.0.0:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest-runner', type='build')
+ depends_on('py-pytest-runner', when='@0.6.0', type='build')
+ depends_on('py-pytest-runner@5:', when='@1: ^python@3.5:', type='build')
+ depends_on('py-pytest-runner@:4', when='@1: ^python@:3.4', 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-blessings@1.6:', when='@0.6.0', type=('build', 'run'))
+ depends_on('py-blessed@1.17.1:', when='@1.0.0:', type=('build', 'run'))