summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pillow/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-pillow/package.py b/var/spack/repos/builtin/packages/py-pillow/package.py
index 50c16e1175..b550d6be75 100644
--- a/var/spack/repos/builtin/packages/py-pillow/package.py
+++ b/var/spack/repos/builtin/packages/py-pillow/package.py
@@ -39,7 +39,8 @@ class PyPillow(PythonPackage):
# Required dependencies
depends_on('binutils', type='build', when=sys.platform != 'darwin')
- depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.4:', when='@:5.4.1', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.5:', when='@6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('jpeg')
depends_on('zlib')