py-pillow: allow older versions to build with python 3.4 (#14000)

This commit is contained in:
Chuck Atkins 2019-12-05 12:27:33 -05:00 committed by Adam J. Stewart
parent 2da2fc8bc5
commit fcc9a668bf

View File

@ -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')