summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-wcsaxes/package.py
blob: 9aaa31dc0fabb2fff4ebffdaf3f070aa3117d126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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 PyWcsaxes(PythonPackage):
    """WCSAxes is a framework for making plots of Astronomical data
    in Matplotlib."""

    homepage = "https://wcsaxes.readthedocs.io/en/latest/index.html"
    url = "https://github.com/astrofrog/wcsaxes/archive/v0.8.tar.gz"

    license("BSD-3-Clause")

    version("0.8", sha256="9c6addc1ec04cc99617850354b2c03dbd4099d2e43b45a81f8bc3069de9c8e83")

    depends_on("py-setuptools", type="build")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-matplotlib", type=("build", "run"))
    depends_on("py-astropy", type=("build", "run"))