From efd1536e36dfed8e9e9bd8ca80aeb0a863656257 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 11:30:50 -0600 Subject: [PATCH] add version 1.7.9.2 to r-lubridate (#21084) --- var/spack/repos/builtin/packages/r-lubridate/package.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-lubridate/package.py b/var/spack/repos/builtin/packages/r-lubridate/package.py index c8bd168c29..621945e1fb 100644 --- a/var/spack/repos/builtin/packages/r-lubridate/package.py +++ b/var/spack/repos/builtin/packages/r-lubridate/package.py @@ -7,7 +7,9 @@ class RLubridate(RPackage): - """Functions to work with date-times and timespans: fast and user friendly + """Make Dealing with Dates a Little Easier + + Functions to work with date-times and timespans: fast and user friendly parsing of date-time data, extraction and updating of components of a date-time (years, months, days, hours, minutes, and seconds), algebraic manipulation on date-time and timespan objects. The 'lubridate' package has @@ -18,11 +20,14 @@ class RLubridate(RPackage): url = "https://cloud.r-project.org/src/contrib/lubridate_1.7.1.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/lubridate" + version('1.7.9.2', sha256='ee6a2d68faca51646477acd1898ba774bf2b6fd474a0abf351b16aa5e7a3db79') version('1.7.4', sha256='510ca87bd91631c395655ee5029b291e948b33df09e56f6be5839f43e3104891') version('1.7.3', sha256='2cffbf54afce1d068e65241fb876a77b10ee907d5a19d2ffa84d5ba8a2c3f3df') version('1.7.1', sha256='898c3f482ab8f5e5b415eecd13d1238769c88faed19b63fcb074ffe5ff57fb5f') version('1.5.6', sha256='9b1627ba3212e132ce2b9a29d7513e250cc682ab9b4069f6788a22e84bf8d2c4') depends_on('r@3.0.0:', type=('build', 'run')) + depends_on('r@3.2:', when='@1.7.9.2:', type=('build', 'run')) + depends_on('r-generics', when='@1.7.9.2:', type=('build', 'run')) depends_on('r-rcpp@0.12.13:', type=('build', 'run')) - depends_on('r-stringr', type=('build', 'run')) + depends_on('r-stringr', when='@:1.7.4', type=('build', 'run'))