diff --git a/var/spack/repos/builtin/packages/py-pyfits/package.py b/var/spack/repos/builtin/packages/py-pyfits/package.py new file mode 100644 index 0000000000..f013175d33 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyfits/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2020 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 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'))