summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-plac/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-plac/package.py b/var/spack/repos/builtin/packages/py-plac/package.py
index 098dbb65c3..18d18cf5dd 100644
--- a/var/spack/repos/builtin/packages/py-plac/package.py
+++ b/var/spack/repos/builtin/packages/py-plac/package.py
@@ -13,4 +13,4 @@ class PyPlac(PythonPackage):
version('1.1.3', sha256='398cb947c60c4c25e275e1f1dadf027e7096858fb260b8ece3b33bcff90d985f')
depends_on('py-setuptools', type='build')
- depends_on('py-argparse', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))