From 44c58ad7274f1714843296ca3768c35a1eda9690 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 13:29:14 -0600 Subject: [PATCH] add version 0.5.1 to r-htmltools (#21047) --- var/spack/repos/builtin/packages/r-htmltools/package.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-htmltools/package.py b/var/spack/repos/builtin/packages/r-htmltools/package.py index 6c8d1e50c8..4a6df7580c 100644 --- a/var/spack/repos/builtin/packages/r-htmltools/package.py +++ b/var/spack/repos/builtin/packages/r-htmltools/package.py @@ -7,15 +7,20 @@ class RHtmltools(RPackage): - """Tools for HTML generation and output.""" + """Tools for HTML + + Tools for HTML generation and output.""" homepage = "https://github.com/rstudio/htmltools" url = "https://cloud.r-project.org/src/contrib/htmltools_0.3.6.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/htmltools" + version('0.5.1', sha256='6ac82e4451f9558ceb541ea659a736b2ab3245827832b44d3661e7a4d91f6307') version('0.3.6', sha256='44affb82f9c2fd76c9e2b58f9229adb003217932b68c3fdbf1327c8d74c868a2') version('0.3.5', sha256='29fb7e075744bbffdff8ba4fce3860076de66f39a59a100ee4cfb4fc00722b49') depends_on('r@2.14.1:', type=('build', 'run')) depends_on('r-digest', type=('build', 'run')) - depends_on('r-rcpp', type=('build', 'run')) + depends_on('r-base64enc', when='@0.5.1:', type=('build', 'run')) + depends_on('r-rlang', when='@0.5.1:', type=('build', 'run')) + depends_on('r-rcpp', when=' @:0.3.6', type=('build', 'run'))