From 6cf1d25d14e9f9a56212b9c2ad1f16d80bdcd913 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 14 May 2018 16:50:54 -0500 Subject: r-fit-models: Create new package (#8122) --- .../repos/builtin/packages/r-fit-models/package.py | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-fit-models/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-fit-models/package.py b/var/spack/repos/builtin/packages/r-fit-models/package.py new file mode 100644 index 0000000000..4627fab93e --- /dev/null +++ b/var/spack/repos/builtin/packages/r-fit-models/package.py @@ -0,0 +1,38 @@ +############################################################################## +# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# 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 +############################################################################## +from spack import * + + +class RFitModels(RPackage): + """Compare Fitted Models""" + + homepage = "https://cran.r-project.org/package=fit.models" + url = "https://cran.r-project.org/src/contrib/fit.models_0.5-14.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/fit.models" + + version('0.5-14', '159b5c57953db4c917bc186ddacdff51') + version('0.5-13', 'c9ff87e98189bcc3be597e3833408497') + + depends_on('r-lattice', type=('build', 'run')) -- cgit v1.2.3-60-g2f50