From 7e1e689e4cd50acd5f15e84a1ef44105503aae06 Mon Sep 17 00:00:00 2001 From: Levi Baber Date: Fri, 10 Aug 2018 15:21:22 -0500 Subject: r-amap: new package (#8935) * r-amap: new package * r-amap: add list_url * r-amap: dep type --- var/spack/repos/builtin/packages/r-amap/package.py | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-amap/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/r-amap/package.py b/var/spack/repos/builtin/packages/r-amap/package.py new file mode 100644 index 0000000000..b83cd017b5 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-amap/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 RAmap(RPackage): + """Tools for Clustering and Principal Component Analysis + (With robust methods, and parallelized functions).""" + + homepage = "http://mulcyber.toulouse.inra.fr/projects/amap/" + url = "https://cran.rstudio.com/src/contrib/amap_0.8-16.tar.gz" + list_url = "https://cran.r-project.org/src/contrib/Archive/amap/" + + version('0.8-16', sha256='d3775ad7f660581f7d2f070e426be95ae0d6743622943e6f5491988e5217d4e2') + + depends_on('r@2.10.0:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50