Clean up R extensions
Run the existing R extension packages through autopep8 to clean up.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user