summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-opentuner/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-opentuner/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-opentuner/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-opentuner/package.py b/var/spack/repos/builtin/packages/py-opentuner/package.py
index d38d56937c..070505aca5 100644
--- a/var/spack/repos/builtin/packages/py-opentuner/package.py
+++ b/var/spack/repos/builtin/packages/py-opentuner/package.py
@@ -21,7 +21,7 @@ class PyOpentuner(PythonPackage):
depends_on('python@3:', type=('build', 'run'), when='@0.8.1:')
depends_on('python@2.7:2.8', type=('build', 'run'), when='@:0.8.0')
- depends_on('py-argparse@1.2.1:', type=('build', 'run'))
+ depends_on('py-argparse@1.2.1:', when='^python@:2.6,3.0:3.1', type=('build', 'run'))
depends_on('py-fn-py@0.2.12:', type=('build', 'run'))
depends_on('py-future', type=('build', 'run'))
depends_on('py-numpy@1.8.0:', type=('build', 'run'))