From 6de3e1c7b6a63d7798f3269db3818b57ab045bd8 Mon Sep 17 00:00:00 2001 From: Felix Niederwanger Date: Mon, 6 May 2019 20:58:29 +0200 Subject: [PATCH] New package: CCfits (#11262) --- .../repos/builtin/packages/ccfits/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/ccfits/package.py diff --git a/var/spack/repos/builtin/packages/ccfits/package.py b/var/spack/repos/builtin/packages/ccfits/package.py new file mode 100644 index 0000000000..1e90dac5df --- /dev/null +++ b/var/spack/repos/builtin/packages/ccfits/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2019 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 Ccfits(AutotoolsPackage): + """CCfits is an object oriented interface to the cfitsio library. + It is designed to make the capabilities of cfitsio available to programmers + working in C++. It is written in ANSI C++ and implemented using the C++ + Standard Library with namespaces, exception handling, and member template + functions. """ + + homepage = "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/" + url = "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/CCfits-2.5.tar.gz" + + version('2.5', sha256='938ecd25239e65f519b8d2b50702416edc723de5f0a5387cceea8c4004a44740') + version('2.4', sha256='ba6c5012b260adf7633f92581279ea582e331343d8c973981aa7de07242bd7f8') + + depends_on('cfitsio')