summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyfits/package.py
blob: 5fb3189eafa1ad422d43228414f2d48495ec487a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyPyfits(PythonPackage):
    """The PyFITS module is a Python library providing access to
    FITS(Flexible Image Transport System) files."""

    homepage = "https://github.com/spacetelescope/pyfits"
    url = "https://github.com/spacetelescope/PyFITS/archive/3.5.tar.gz"

    version("3.5", sha256="fd32596ee09170a70ddc87d0dfc5503d860ef6b68abcff486d7aa6993dff6162")

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