Add list_url for old versions.

This commit is contained in:
Glenn Johnson
2016-06-11 16:18:54 -05:00
parent 4850b9d4d1
commit a813f03955
3 changed files with 12 additions and 10 deletions

View File

@@ -37,12 +37,13 @@ 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"
list_url = "https://cran.r-project.org/src/contrib/Archive/filehash"
version('2.3', '01fffafe09b148ccadc9814c103bdc2f')
extends('R')
def install(self, spec, prefix):
R('CMD', 'INSTALL', '--library=%s' %
self.module.r_lib_dir, '%s' % self.stage.source_path)
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
self.stage.source_path)