summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlingnanyuan <1297162327@qq.com>2017-10-27 01:31:26 -0500
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-10-27 08:31:26 +0200
commitf676d8f3d77e0de08ca429f9e2c7629dfc6a8eef (patch)
tree98246dabe5c7a5a61a01976b20ba17613d783d23
parent3bb4572e81df28c2926dca501bd36f2cd807dc1d (diff)
downloadspack-f676d8f3d77e0de08ca429f9e2c7629dfc6a8eef.tar.gz
spack-f676d8f3d77e0de08ca429f9e2c7629dfc6a8eef.tar.bz2
spack-f676d8f3d77e0de08ca429f9e2c7629dfc6a8eef.tar.xz
spack-f676d8f3d77e0de08ca429f9e2c7629dfc6a8eef.zip
r-utils: Create new package. (#5964)
-rw-r--r--var/spack/repos/builtin/packages/r-utils/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-utils/package.py b/var/spack/repos/builtin/packages/r-utils/package.py
new file mode 100644
index 0000000000..e28ba229be
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-utils/package.py
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2013-2017, 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 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 RUtils(RPackage):
+ """Utility functions useful when programming and
+ developing R packages."""
+
+ homepage = "https://github.com/HenrikBengtsson/R.utils"
+ url = "https://cran.rstudio.com/src/contrib/R.utils_2.5.0.tar.gz"
+ list_url = "https://cran.r-project.org/src/contrib/Archive/R.utils"
+
+ version('2.5.0', 'a728ef3ceb35cafc4c39ea577cecc38b')
+
+ depends_on('r-oo', type=('build', 'run'))