summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2018-10-16 03:27:13 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-15 18:27:13 -0700
commitaae994258cb7b2b35a1ca636e485f6f7d25660f5 (patch)
treedd35ad2a6daff53b8050d2d669e002f6a411195c
parentc5185b18cc99f6222da993cedb54ef3a53824d24 (diff)
downloadspack-aae994258cb7b2b35a1ca636e485f6f7d25660f5.tar.gz
spack-aae994258cb7b2b35a1ca636e485f6f7d25660f5.tar.bz2
spack-aae994258cb7b2b35a1ca636e485f6f7d25660f5.tar.xz
spack-aae994258cb7b2b35a1ca636e485f6f7d25660f5.zip
update py-mock dependencies based on requirements.txt (#9496)
-rw-r--r--var/spack/repos/builtin/packages/py-mock/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-mock/package.py b/var/spack/repos/builtin/packages/py-mock/package.py
index 938c015ad1..154bc1191d 100644
--- a/var/spack/repos/builtin/packages/py-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-mock/package.py
@@ -36,5 +36,9 @@ class PyMock(PythonPackage):
version('2.0.0', '0febfafd14330c9dcaa40de2d82d40ad')
version('1.3.0', '73ee8a4afb3ff4da1b4afa287f39fdeb')
- depends_on('py-pbr', type=('build', 'run'))
+ depends_on('py-pbr@0.11:', type=('build', 'run'))
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-six@1.9:', type=('build', 'run'), when='@2.0.0:')
+ # requirements.txt references @1:, but 0.4 is newest available..
+ depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.2.99')
depends_on('py-setuptools@17.1:', type='build')