py-matplotlib: add v3.7.3 (#39961)

This commit is contained in:
Adam J. Stewart 2023-09-22 04:23:57 -05:00 committed by GitHub
parent 419878f035
commit f42402129a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,26 +17,15 @@ class PyMatplotlib(PythonPackage):
pypi = "matplotlib/matplotlib-3.3.2.tar.gz"
maintainers("adamjstewart")
import_modules = [
"mpl_toolkits.axes_grid1",
"mpl_toolkits.axes_grid",
"mpl_toolkits.mplot3d",
"mpl_toolkits.axisartist",
"matplotlib",
"matplotlib.compat",
"matplotlib.tri",
"matplotlib.axes",
"matplotlib.sphinxext",
"matplotlib.cbook",
"matplotlib.backends",
"matplotlib.backends.qt_editor",
"matplotlib.style",
"matplotlib.projections",
"matplotlib.testing",
"matplotlib.testing.jpl_units",
"pylab",
skip_modules = [
"matplotlib.tests",
"mpl_toolkits.axes_grid1.tests",
"mpl_toolkits.axisartist.tests",
"mpl_toolkits.mplot3d.tests",
]
version("3.8.0", sha256="df8505e1c19d5c2c26aff3497a7cbd3ccfc2e97043d1e4db3e76afa399164b69")
version("3.7.3", sha256="f09b3dd6bdeb588de91f853bbb2d6f0ff8ab693485b0c49035eaa510cb4f142e")
version("3.7.2", sha256="a8cdb91dddb04436bd2f098b8fdf4b81352e68cf4d2c6756fcc414791076569b")
version("3.7.1", sha256="7b73305f25eab4541bd7ee0b96d87e53ae9c9f1823be5659b806cd85786fe882")
version("3.7.0", sha256="8f6efd313430d7ef70a38a3276281cb2e8646b3a22b3b21eb227da20e15e6813")
@ -141,16 +130,19 @@ class PyMatplotlib(PythonPackage):
# https://matplotlib.org/stable/devel/dependencies.html
# Runtime dependencies
# Mandatory dependencies
depends_on("python@3.9:", when="@3.8:", type=("build", "link", "run"))
depends_on("python@3.8:", when="@3.6:", type=("build", "link", "run"))
depends_on("python", type=("build", "link", "run"))
depends_on("py-contourpy@1.0.1:", when="@3.6:", type=("build", "run"))
depends_on("py-cycler@0.10:", type=("build", "run"))
depends_on("py-fonttools@4.22:", when="@3.5:", type=("build", "run"))
depends_on("py-kiwisolver@1.0.1:", type=("build", "run"), when="@2.2.0:")
depends_on("py-numpy@1.20:", when="@3.7:", type=("build", "run"))
depends_on("py-numpy@1.19:", when="@3.6:", type=("build", "run"))
depends_on("py-numpy@1.17:", when="@3.5:", type=("build", "run"))
depends_on("py-numpy@1.16:", when="@3.4:", type=("build", "run"))
depends_on("py-numpy@1.15:", when="@3.3:", type=("build", "run"))
depends_on("py-numpy@1.21:1", when="@3.8:", type=("build", "link", "run"))
depends_on("py-numpy@1.20:", when="@3.7:", type=("build", "link", "run"))
depends_on("py-numpy@1.19:", when="@3.6:", type=("build", "link", "run"))
depends_on("py-numpy@1.17:", when="@3.5:", type=("build", "link", "run"))
depends_on("py-numpy@1.16:", when="@3.4:", type=("build", "link", "run"))
depends_on("py-numpy@1.15:", when="@3.3:", type=("build", "link", "run"))
depends_on("py-numpy@1.11:", type=("build", "run"))
depends_on("py-packaging@20:", when="@3.6:", type=("build", "run"))
depends_on("py-packaging", when="@3.5:", type=("build", "run"))
@ -161,8 +153,6 @@ 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-python-dateutil@2.7:", when="@3.4:", type=("build", "run"))
depends_on("py-python-dateutil@2.1:", type=("build", "run"))
depends_on("py-setuptools@42:", when="@3.7.2:", type=("build", "run"))
depends_on("py-setuptools", type=("build", "run"))
depends_on("py-importlib-resources@3.2:", when="@3.7: ^python@:3.9", type=("build", "run"))
# Historical dependencies
@ -232,6 +222,9 @@ class PyMatplotlib(PythonPackage):
# Setup dependencies
depends_on("py-certifi@2020.6.20:", when="@3.3.1:", type="build")
depends_on("py-pybind11@2.6:", when="@3.7:", type="build")
depends_on("py-setuptools@42:", when="@3.8:", type="build")
depends_on("py-setuptools@42:", when="@3.7.2:3.7", type=("build", "run"))
depends_on("py-setuptools", when="@:3.7.1", type=("build", "run"))
depends_on("py-setuptools-scm@7:", when="@3.6:", type="build")
depends_on("py-setuptools-scm@4:6", when="@3.5", type="build")
depends_on("py-setuptools-scm-git-archive", when="@3.5", type="build")