py-matplotlib: add v3.3.0

This commit is contained in:
Adam J. Stewart 2020-07-16 19:31:44 -05:00 committed by Peter Scheibel
parent ae03782032
commit a5aa150a98

View File

@ -13,7 +13,7 @@ class PyMatplotlib(PythonPackage):
and interactive visualizations in Python."""
homepage = "https://matplotlib.org/"
url = "https://pypi.io/packages/source/m/matplotlib/matplotlib-3.2.2.tar.gz"
url = "https://pypi.io/packages/source/m/matplotlib/matplotlib-3.3.0.tar.gz"
maintainers = ['adamjstewart']
@ -27,6 +27,7 @@ class PyMatplotlib(PythonPackage):
'matplotlib.testing.jpl_units'
]
version('3.3.0', sha256='24e8db94948019d531ce0bcd637ac24b1c8f6744ac86d2aa0eb6dbaeb1386f82')
version('3.2.2', sha256='3d77a6630d093d74cbbfebaa0571d00790966be1ed204e4a8239f5cbd6835c5d')
version('3.2.1', sha256='ffe2f9cdcea1086fc414e82f42271ecf1976700b8edd16ca9d376189c6d93aee')
version('3.2.0', sha256='651d76daf9168250370d4befb09f79875daa2224a9096d97dfc3ed764c842be4')
@ -77,12 +78,13 @@ class PyMatplotlib(PythonPackage):
# https://matplotlib.org/users/installing.html#dependencies
# Required dependencies
extends('python', ignore=r'bin/nosetests.*$|bin/pbr$')
depends_on('python@2.7:2.8,3.4:', when='@:2')
depends_on('python@3.5:', when='@3:')
depends_on('python@3.6:', when='@3.1:')
depends_on('python@2.7:2.8,3.4:', when='@:2', type=('build', 'link', 'run'))
depends_on('python@3.5:', when='@3:', type=('build', 'link', 'run'))
depends_on('python@3.6:', when='@3.1:', type=('build', 'link', 'run'))
depends_on('freetype@2.3:')
depends_on('libpng@1.2:')
depends_on('py-numpy@1.11:', type=('build', 'run'))
depends_on('py-numpy@1.15:', when='@3.3:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run')) # See #3813
depends_on('py-cycler@0.10:', type=('build', 'run'))
depends_on('py-python-dateutil@2.1:', type=('build', 'run'))
@ -90,7 +92,7 @@ class PyMatplotlib(PythonPackage):
depends_on('py-pyparsing@2.0.3,2.0.5:2.1.1,2.1.3:2.1.5,2.1.7:', type=('build', 'run'))
depends_on('py-pytz', type=('build', 'run'), when='@:2')
depends_on('py-subprocess32', type=('build', 'run'), when='^python@:2.7')
depends_on('py-functools32', type=('build', 'run'), when='@:2.0.999 ^python@2.7')
depends_on('py-functools32', type=('build', 'run'), when='@:2.0.999 ^python@:2.7')
depends_on('py-backports-functools-lru-cache', type=('build', 'run'),
when='@2.1.0:2.999.999 ^python@:2')
depends_on('py-six@1.10.0:', type=('build', 'run'), when='@2.0:2.999')