summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2020-04-02 18:07:22 +0800
committerGitHub <noreply@github.com>2020-04-02 12:07:22 +0200
commitd2b6ef98f129e1a7b8dba7b267c9c49bdcb1683f (patch)
tree227966aa60f222db5991969c813a23e31f421e74 /var
parentd921974db1510831757efcbe12dc26eebab791eb (diff)
downloadspack-d2b6ef98f129e1a7b8dba7b267c9c49bdcb1683f.tar.gz
spack-d2b6ef98f129e1a7b8dba7b267c9c49bdcb1683f.tar.bz2
spack-d2b6ef98f129e1a7b8dba7b267c9c49bdcb1683f.tar.xz
spack-d2b6ef98f129e1a7b8dba7b267c9c49bdcb1683f.zip
py-pyfits: added new package at v3.5 (#15825)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pyfits/package.py19
1 files changed, 19 insertions, 0 deletions
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'))