summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2019-12-05 12:27:33 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-05 11:27:33 -0600
commitfcc9a668bf6d72ffd40280fa37d6bb8ee6bc6d01 (patch)
tree54b2efc32f293a9a050527801647d9c3f70af6cb /var
parent2da2fc8bc52dff3dc91572190b7d2e81eed1248b (diff)
downloadspack-fcc9a668bf6d72ffd40280fa37d6bb8ee6bc6d01.tar.gz
spack-fcc9a668bf6d72ffd40280fa37d6bb8ee6bc6d01.tar.bz2
spack-fcc9a668bf6d72ffd40280fa37d6bb8ee6bc6d01.tar.xz
spack-fcc9a668bf6d72ffd40280fa37d6bb8ee6bc6d01.zip
py-pillow: allow older versions to build with python 3.4 (#14000)
Diffstat (limited to 'var')
-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')