From 382cd680ecdd726d9b55b1a3f3fa4d4efcfcb338 Mon Sep 17 00:00:00 2001 From: Ian Lee <lee1001@llnl.gov> Date: Fri, 26 Aug 2016 10:51:45 -0700 Subject: [PATCH] Beginnings of an RStudio package --- .../repos/builtin/packages/rstudio/package.py | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 var/spack/repos/builtin/packages/rstudio/package.py diff --git a/var/spack/repos/builtin/packages/rstudio/package.py b/var/spack/repos/builtin/packages/rstudio/package.py new file mode 100644 index 0000000000..249f0fa43a --- /dev/null +++ b/var/spack/repos/builtin/packages/rstudio/package.py @@ -0,0 +1,53 @@ +############################################################################## +# Copyright (c) 2013-2016, 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/llnl/spack +# Please also see the LICENSE file 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 * +from spack.util.environment import * +import shutil + + +class Rstudio(Package): + """R is 'GNU S', a freely available language and environment for + statistical computing and graphics which provides a wide variety of + statistical and graphical techniques: linear and nonlinear modelling, + statistical tests, time series analysis, classification, clustering, etc. + Please consult the R project homepage for further information.""" + + homepage = "https://github.com/rstudio/rstudio" + url = "https://github.com/rstudio/rstudio/archive/v0.99.1290.tar.gz" + + version('0.99.1290', 'cb5fb0d11d3771d09421aefc246f50a5') + + depends_on('cmake', type='build') + + # Concrete dependencies + depends_on('R') + depends_on('boost') + depends_on('qt@4.8.6') + + def install(self, spec, prefix): + configure(*configure_args) + make() + make('install') + -- GitLab