diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-04-06 17:02:34 -0500 |
---|---|---|
committer | Glenn Johnson <glenn-johnson@uiowa.edu> | 2016-04-06 17:02:34 -0500 |
commit | 32779ab1f6c2658771e69e58f8d8a451b23043b0 (patch) | |
tree | ce5550eae2b84f56f0b4e5c3ee71688b3841343e /var/spack/repos/builtin/packages/r-filehash | |
parent | fbabfc593d10a7fc35944e72e2eb8b1ebf4818eb (diff) | |
download | spack-32779ab1f6c2658771e69e58f8d8a451b23043b0.tar.gz spack-32779ab1f6c2658771e69e58f8d8a451b23043b0.tar.bz2 spack-32779ab1f6c2658771e69e58f8d8a451b23043b0.tar.xz spack-32779ab1f6c2658771e69e58f8d8a451b23043b0.zip |
Add r-filehash to test version naming.
Diffstat (limited to 'var/spack/repos/builtin/packages/r-filehash')
-rw-r--r-- | var/spack/repos/builtin/packages/r-filehash/package.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-filehash/package.py b/var/spack/repos/builtin/packages/r-filehash/package.py new file mode 100644 index 0000000000..a3b688da10 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-filehash/package.py @@ -0,0 +1,14 @@ +from spack import * + +class RFilehash(Package): + """Implements a simple key-value style database where character string keys are associated with data values that are stored on the disk. A simple interface is provided for inserting, retrieving, and deleting data from the database. Utilities are provided that allow 'filehash' databases to be treated much like environments and lists are already used in R. These utilities are provided to encourage interactive and exploratory analysis on large datasets. Three different file formats for representing the database are currently available and new formats can easily be incorporated by third parties for use in the 'filehash' framework.""" + + homepage = 'https://cran.r-project.org/' + url = "https://cran.r-project.org/src/contrib/filehash_2.3.tar.gz" + + version('2.3', '01fffafe09b148ccadc9814c103bdc2f', expand=False) + + extends('R') + + def install(self, spec, prefix): + R('CMD', 'INSTALL', '--library=%s' % self.module.r_lib_dir, '%s' % self.stage.archive_file) |