From d32a342fc62e353282b1cd51971db795d9a0a66f Mon Sep 17 00:00:00 2001 From: 健美猞猁 Date: Wed, 13 Mar 2019 08:59:24 +0800 Subject: Aoflagger: a new package. (#10840) * A new package: aoflagger. * aoflagger does not support boost>1.66.0 . * Add fftw~mpi dependency. * flake8. * Flake8. * Update package heder. * md5 -> sha256. --- .../repos/builtin/packages/aoflagger/package.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/aoflagger/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/aoflagger/package.py b/var/spack/repos/builtin/packages/aoflagger/package.py new file mode 100644 index 0000000000..76dc143196 --- /dev/null +++ b/var/spack/repos/builtin/packages/aoflagger/package.py @@ -0,0 +1,23 @@ +# 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 Aoflagger(CMakePackage): + """RFI detector and quality analysis + for astronomical radio observations.""" + + homepage = "https://sourceforge.net/projects/aoflagger/" + url = "https://downloads.sourceforge.net/project/aoflagger/aoflagger-2.10.0/aoflagger-2.10.0.tar.bz2" + + version('2.10.0', sha256='3ec1188d37101acf2029575ebc09c50b19c158c88a12b55ac5d25a96bd8fc18d') + + depends_on('casacore+python+fftw@1.9.99:') + depends_on('fftw~mpi@3.0:') + depends_on('boost+python@:1.66.99') + depends_on('libxml2') + depends_on('lapack') + depends_on('cfitsio') -- cgit v1.2.3-70-g09d2