summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2021-05-17 18:28:29 +0200
committerGitHub <noreply@github.com>2021-05-17 11:28:29 -0500
commit8ee8269edee2154ecf2ebb0ffe08d835b8a69870 (patch)
treedde83343f325782796fe3f0965f64f620e3d3906
parentde8027a820fb24354a06946eb3c6c05cc45ad3a5 (diff)
downloadspack-8ee8269edee2154ecf2ebb0ffe08d835b8a69870.tar.gz
spack-8ee8269edee2154ecf2ebb0ffe08d835b8a69870.tar.bz2
spack-8ee8269edee2154ecf2ebb0ffe08d835b8a69870.tar.xz
spack-8ee8269edee2154ecf2ebb0ffe08d835b8a69870.zip
py-coverage: add version and restrict newer python dependency (#23692)
Change-Id: I7e790014fd448eb203a1963c90e22afde041ba50
-rw-r--r--var/spack/repos/builtin/packages/py-coverage/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-coverage/package.py b/var/spack/repos/builtin/packages/py-coverage/package.py
index 09e98526be..2597f15c53 100644
--- a/var/spack/repos/builtin/packages/py-coverage/package.py
+++ b/var/spack/repos/builtin/packages/py-coverage/package.py
@@ -13,10 +13,12 @@ class PyCoverage(PythonPackage):
pypi = "coverage/coverage-4.5.4.tar.gz"
version('5.3', sha256='280baa8ec489c4f542f8940f9c4c2181f0306a8ee1a54eceba071a449fb870a0')
+ version('5.0.4', sha256='1b60a95fc995649464e0cd48cecc8288bac5f4198f21d04b8229dc4097d76823')
version('4.5.4', sha256='e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c')
version('4.5.3', sha256='9de60893fb447d1e797f6bf08fdf0dbcda0c1e34c1b06c92bd3a363c0ea8c609')
version('4.3.4', sha256='eaaefe0f6aa33de5a65f48dd0040d7fe08cac9ac6c35a56d0a7db109c3e733df')
version('4.0a6', sha256='85c7f3efceb3724ab066a3fcccc05b9b89afcaefa5b669a7e2222d31eac4728d')
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when="@5.0.0:")
depends_on('py-setuptools', type=('build', 'run'))