From 26933550f7a3c195669c61539151c5fedf26aaad Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sun, 17 Jan 2021 13:30:50 -0600 Subject: [PATCH] add version 1.0.0 to r-hms (#21045) --- var/spack/repos/builtin/packages/r-hms/package.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/r-hms/package.py b/var/spack/repos/builtin/packages/r-hms/package.py index 26217bf329..b0c24234a2 100644 --- a/var/spack/repos/builtin/packages/r-hms/package.py +++ b/var/spack/repos/builtin/packages/r-hms/package.py @@ -7,16 +7,22 @@ class RHms(RPackage): - """Implements an S3 class for storing and formatting time-of-day values, - based on the 'difftime' class.""" + """Pretty Time of Day + + Implements an S3 class for storing and formatting time-of-day values, based + on the 'difftime' class.""" homepage = "https://cloud.r-project.org/package=hms" url = "https://cloud.r-project.org/src/contrib/hms_0.3.tar.gz" list_url = "https://cloud.r-project.org/src/contrib/Archive/hms" + version('1.0.0', sha256='9704e903d724f0911d46e5ad18b469a7ed419c5b1f388bd064fd663cefa6c962') version('0.5.0', sha256='a87872665c3bf3901f597d78c152e7805f7129e4dbe27397051de4cf1a76561b') version('0.3', sha256='9368259cbc1094ce0e4cf61544875ec30088ef690d6667e6b0b564218ab3ff88') + depends_on('r-ellipsis', when='@1.0.0:', type=('build', 'run')) + depends_on('r-lifecycle', when='@1.0.0:', type=('build', 'run')) depends_on('r-pkgconfig', when='@0.5.0:', type=('build', 'run')) depends_on('r-rlang', when='@0.5.0:', type=('build', 'run')) depends_on('r-vctrs@0.2.0:', when='@0.5.0:', type=('build', 'run')) + depends_on('r-vctrs@0.2.1:', when='@1.0.0:', type=('build', 'run'))