diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/chombo/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/chombo/package.py | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/var/spack/repos/builtin/packages/chombo/package.py b/var/spack/repos/builtin/packages/chombo/package.py index 8dd5155199..29b113b782 100644 --- a/var/spack/repos/builtin/packages/chombo/package.py +++ b/var/spack/repos/builtin/packages/chombo/package.py @@ -1,29 +1,9 @@ -############################################################################## -# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. -# Produced at the Lawrence Livermore National Laboratory. +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. # -# This file is part of Spack. -# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. -# LLNL-CODE-647188 -# -# For details, see https://github.com/spack/spack -# Please also see the NOTICE and LICENSE files for our notice and the LGPL. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License (as -# published by the Free Software Foundation) version 2.1, February 1999. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and -# conditions of the GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -############################################################################## +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + from spack import * -from shutil import copyfile import glob @@ -34,12 +14,13 @@ class Chombo(MakefilePackage): logically rectangular (i.e. Cartesian) grids.""" homepage = "https://commons.lbl.gov/display/chombo" - url = "http://bitbucket.org/drhansj/chombo-xsdk.git" + git = "http://bitbucket.org/drhansj/chombo-xsdk.git" + + tags = ['ecp', 'ecp-apps'] # Use whatever path Brian V. and Terry L. agreed upon, but preserve version - version('3.2', git='http://bitbucket.org/drhansj/chombo-xsdk.git', commit='71d856c') - version('develop', git='http://bitbucket.org/drhansj/chombo-xsdk.git', tag='master') -# version('3.2', svn='https://anag-repo.lbl.gov/svn/Chombo/release/3.2') + version('3.2', commit='71d856c') + version('develop', tag='master') variant('mpi', default=True, description='Enable MPI parallel support') variant('hdf5', default=True, description='Enable HDF5 support') @@ -70,8 +51,8 @@ class Chombo(MakefilePackage): # Set remaining variables in Make.defs.local # Make.defs.local.template.patch ensures lines for USE_TIMER, # USE_LAPACK and lapackincflags are present - copyfile('./lib/mk/Make.defs.local.template', - './lib/mk/Make.defs.local') + copy('./lib/mk/Make.defs.local.template', + './lib/mk/Make.defs.local') defs_file = FileFilter('./lib/mk/Make.defs.local') |