Clean up R extensions

Run the existing R extension packages through autopep8 to clean up.
This commit is contained in:
Glenn Johnson
2016-05-28 22:31:47 -05:00
parent 6649f9edc2
commit cb3505769b
4 changed files with 16 additions and 8 deletions

View File

@@ -24,6 +24,7 @@
##############################################################################
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
@@ -36,11 +37,12 @@ class RFilehash(Package):
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"
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)
R('CMD', 'INSTALL', '--library=%s' %
self.module.r_lib_dir, '%s' % self.stage.archive_file)