summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rprojroot/package.py
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-11-13 11:05:17 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2018-11-13 11:05:17 -0600
commit42962f2409fe7b46543dc5974c45bb6392fcea99 (patch)
tree2063188dd6902f9b6ea7e8a2601f6131ac88046d /var/spack/repos/builtin/packages/r-rprojroot/package.py
parent041aa143db6964575625f1849de639541efb83a5 (diff)
parent8554e933d2a236df20d07a6e0416ab444790bd3d (diff)
downloadspack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.gz
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.bz2
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.tar.xz
spack-42962f2409fe7b46543dc5974c45bb6392fcea99.zip
Merge branch 'releases/v0.12'v0.12.0
Diffstat (limited to 'var/spack/repos/builtin/packages/r-rprojroot/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-rprojroot/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-rprojroot/package.py b/var/spack/repos/builtin/packages/r-rprojroot/package.py
new file mode 100644
index 0000000000..617646350c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rprojroot/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRprojroot(RPackage):
+ """Robust, reliable and flexible paths to files below a project root.
+ The 'root' of a project is defined as a directory that matches a
+ certain criterion, e.g., it contains a certain regular file."""
+
+ homepage = "https://cran.r-project.org/package=rprojroot"
+ url = "https://cran.rstudio.com/src/contrib/rprojroot_1.2.tar.gz"
+ list_url = "https://cran.rstudio.com/src/contrib/Archive/rprojroot"
+
+ version('1.2', 'c1a0574aaac2a43a72f804abbaea19c3')
+
+ depends_on('r-backports', type=('build', 'run'))
+ depends_on('r@3.0.0:')