spack/var/spack/repos/builtin/packages/py-mizani/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

43 lines
1.8 KiB
Python

# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyMizani(PythonPackage):
"""Mizani is a scales package for graphics. It is based on Hadley Wickham's
Scales package."""
homepage = "https://mizani.readthedocs.io/en/latest"
pypi = "mizani/mizani-0.7.4.tar.gz"
version("0.7.4", sha256="b84b923cd3b8b4c0421a750672e5a85ed2aa05e632bd37af8419d5bbf65c397c")
version("0.7.3", sha256="f521300bd29ca918fcd629bc8ab50fa04e41bdbe00f6bcf74055d3c6273770a4")
version("0.6.0", sha256="2cdba487ee54faf3e5bfe0903155a13ff13d27a2dae709f9432194915b4fb1cd")
# common requirements
depends_on("py-palettable", type=("build", "run"))
# variable requirements
depends_on("python@3.8:", type=("build", "run"), when="@0.7.4:")
depends_on("python@3.6:", type=("build", "run"), when="@0.6.0:")
depends_on("py-setuptools@42:", type="build", when="@0.7.4:")
depends_on("py-setuptools", type="build", when="@0.6.0:")
depends_on("py-matplotlib@3.5.0:", type=("build", "run"), when="@0.7.4:")
depends_on("py-matplotlib@3.1.1:", type=("build", "run"), when="@0.6.0:")
depends_on("py-numpy@1.19.0:", type=("build", "run"), when="@0.7.4:")
depends_on("py-numpy", type=("build", "run"), when="@0.6.0:")
depends_on("py-scipy@1.5.0:", type=("build", "run"), when="@0.7.4:")
depends_on("py-pandas@1.3.5:", type=("build", "run"), when="@0.7.4:")
depends_on("py-pandas@1.1.0:", type=("build", "run"), when="@0.7.2:")
depends_on("py-pandas@1.0.0:", type=("build", "run"), when="@0.7.0:")
depends_on("py-pandas@0.25.0:", type=("build", "run"), when="@0.6.0:")