summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-fastmatch/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/r-fastmatch/package.py')
-rw-r--r--var/spack/repos/builtin/packages/r-fastmatch/package.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/r-fastmatch/package.py b/var/spack/repos/builtin/packages/r-fastmatch/package.py
index f2611383e7..ae2e4cefdf 100644
--- a/var/spack/repos/builtin/packages/r-fastmatch/package.py
+++ b/var/spack/repos/builtin/packages/r-fastmatch/package.py
@@ -7,13 +7,16 @@ from spack import *
class RFastmatch(RPackage):
- """Package providing a fast match() replacement for cases that require
- repeated look-ups. It is slightly faster that R's built-in match()
- function on first match against a table, but extremely fast on any
- subsequent lookup as it keeps the hash table in memory."""
+ """Fast 'match()' Function.
- homepage = "https://www.rforge.net/fastmatch"
- url = "https://cloud.r-project.org/src/contrib/fastmatch_1.1-0.tar.gz"
- list_url = "https://cloud.r-project.org/src/contrib/Archive/fastmatch"
+ Package providing a fast match() replacement for cases that require
+ repeated look-ups. It is slightly faster that R's built-in match() function
+ on first match against a table, but extremely fast on any subsequent lookup
+ as it keeps the hash table in memory."""
+ cran = "fastmatch"
+
+ version('1.1-3', sha256='1defa0b08bc3f48e4c3e4ba8df4f1b9e8299932fd8c747c67d32de44f90b9861')
version('1.1-0', sha256='20b51aa4838dbe829e11e951444a9c77257dcaf85130807508f6d7e76797007d')
+
+ depends_on('r@2.3.0:', type=('build', 'run'), when='@1.1-3:')