py-pyfits: added new package at v3.5 (#15825)

This commit is contained in:
健美猞猁 2020-04-02 18:07:22 +08:00 committed by GitHub
parent d921974db1
commit d2b6ef98f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))