py-matplotlib: fix qhull dependency (#26553)

This commit is contained in:
Manuela Kuhn 2021-10-06 15:18:11 +02:00 committed by GitHub
parent b92fd08028
commit 11bdd18b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,10 @@ class PyMatplotlib(PythonPackage):
depends_on('python@3.6:', when='@3.1:', type=('build', 'link', 'run'))
depends_on('python@3.7:', when='@3.4:', type=('build', 'link', 'run'))
depends_on('freetype@2.3:') # freetype 2.6.1 needed for tests to pass
depends_on('qhull@2015.2:', when='@3.3:')
depends_on('qhull@2020.2:', when='@3.4:')
# starting from qhull 2020 libqhull.so on which py-matplotlib@3.3 versions
# rely on does not exist anymore, only libqhull_r.so
depends_on('qhull@2015.2:2020.1', when='@3.3.0:3')
depends_on('libpng@1.2:')
depends_on('py-setuptools', type=('build', 'run')) # See #3813
depends_on('py-certifi@2020.6.20:', when='@3.3.1:', type='build')