summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-12-03 23:14:29 +0100
committerGitHub <noreply@github.com>2021-12-03 16:14:29 -0600
commit324e046f06dec36c78db68f241e04f8af84ccfca (patch)
tree13355d6870ca0e9bb8d50a350addad8771b9809d
parent21d1e03e37f97e4fe11993fca1d9d0d88601d680 (diff)
downloadspack-324e046f06dec36c78db68f241e04f8af84ccfca.tar.gz
spack-324e046f06dec36c78db68f241e04f8af84ccfca.tar.bz2
spack-324e046f06dec36c78db68f241e04f8af84ccfca.tar.xz
spack-324e046f06dec36c78db68f241e04f8af84ccfca.zip
r-tictoc: add 1.0.1 (#27715)
-rw-r--r--var/spack/repos/builtin/packages/r-tictoc/package.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/r-tictoc/package.py b/var/spack/repos/builtin/packages/r-tictoc/package.py
index 0b56b4d08a..b080c68383 100644
--- a/var/spack/repos/builtin/packages/r-tictoc/package.py
+++ b/var/spack/repos/builtin/packages/r-tictoc/package.py
@@ -7,8 +7,8 @@ from spack import *
class RTictoc(RPackage):
- """tictoc: Functions for timing R scripts, as well as implementations of
- Stack and List structures
+ """Functions for timing R scripts, as well as implementations of Stack and
+ List structures.
This package provides the timing functions 'tic' and 'toc'
that can be nested. One can record all timings while a
@@ -20,9 +20,10 @@ class RTictoc(RPackage):
'push', 'pop', 'first', 'last' and 'clear'."""
homepage = "https://collectivemedia.github.io/tictoc/"
- url = "https://cloud.r-project.org/src/contrib/tictoc_1.0.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/tictoc"
+ cran = "tictoc"
+ version('1.0.1', sha256='a09a1535c417ddf6637bbbda5fca6edab6c7f7b252a64e57e99d4d0748712705')
version('1.0', sha256='47da097c1822caa2d8e262381987cfa556ad901131eb96109752742526b2e2fe')
- depends_on('r@3.0.3:', type=('build', 'run'))
+ depends_on('r@3.0.3:', type=('build', 'run'), when='@1.0.1:')
+ depends_on('r@3.0.3:4.0', type=('build', 'run'), when='@1.0')