From 0fe9fa6a750ee0ec7a5fef58cd3fbc31a731d30d Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Fri, 15 Jan 2021 03:40:46 -0600 Subject: [PATCH] add version 3.0-4 to r-cardata (#20847) --- var/spack/repos/builtin/packages/r-cardata/package.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-cardata/package.py b/var/spack/repos/builtin/packages/r-cardata/package.py index 236e4f0f97..50b56ac8e4 100644 --- a/var/spack/repos/builtin/packages/r-cardata/package.py +++ b/var/spack/repos/builtin/packages/r-cardata/package.py @@ -7,13 +7,17 @@ class RCardata(RPackage): - """Datasets to Accompany J. Fox and S. Weisberg, An R Companion to Applied - Regression, Third Edition, Sage (forthcoming).""" + """Companion to Applied Regression Data Sets + + Datasets to Accompany J. Fox and S. Weisberg, An R Companion to Applied + Regression, Third Edition, Sage (2019).""" homepage = "https://r-forge.r-project.org/projects/car/" url = "https://cloud.r-project.org/src/contrib/carData_3.0-2.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/carData" + version('3.0-4', sha256='cda6f5e3efc1d955a4a0625e9c33f90d49f5455840e88b3bd757129b86044724') version('3.0-2', sha256='3b5c4eff1cc1e456a5331084774503eaa06cf61fb7acf6b9e8a6bfabd5735494') depends_on('r@3.0:', type=('build', 'run')) + depends_on('r@3.5:', when='@3.0-4:', type=('build', 'run'))