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

@ -32,13 +32,13 @@ class RAbind(Package):
'afill' for manipulating, extracting and replacing data in arrays.""" 'afill' for manipulating, extracting and replacing data in arrays."""
homepage = "https://cran.r-project.org/" homepage = "https://cran.r-project.org/"
url = "https://cran.r-project.org/src/contrib/abind_1.4-3.tar.gz" url = "https://cran.r-project.org/src/contrib/abind_1.4-3.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/abind"
version('1.4-3', '10fcf80c677b991bf263d38be35a1fc5') version('1.4-3', '10fcf80c677b991bf263d38be35a1fc5')
extends('R') extends('R')
def install(self, spec, prefix): def install(self, spec, prefix):
R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
R('CMD', 'INSTALL', '--library=%s' % self.stage.source_path)
self.module.r_lib_dir, '%s' % self.stage.source_path)

View File

@ -37,12 +37,13 @@ class RFilehash(Package):
parties for use in the 'filehash' framework.""" parties for use in the 'filehash' framework."""
homepage = 'https://cran.r-project.org/' 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') version('2.3', '01fffafe09b148ccadc9814c103bdc2f')
extends('R') extends('R')
def install(self, spec, prefix): def install(self, spec, prefix):
R('CMD', 'INSTALL', '--library=%s' % R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
self.module.r_lib_dir, '%s' % self.stage.source_path) self.stage.source_path)

View File

@ -32,7 +32,8 @@ class RMagic(Package):
arrays.""" arrays."""
homepage = "https://cran.r-project.org/" homepage = "https://cran.r-project.org/"
url = "https://cran.r-project.org/src/contrib/magic_1.5-6.tar.gz" url = "https://cran.r-project.org/src/contrib/magic_1.5-6.tar.gz"
list_url = "https://cran.r-project.org/src/contrib/Archive/magic"
version('1.5-6', 'a68e5ced253b2196af842e1fc84fd029') version('1.5-6', 'a68e5ced253b2196af842e1fc84fd029')
@ -41,5 +42,5 @@ class RMagic(Package):
depends_on('r-abind') depends_on('r-abind')
def install(self, spec, prefix): def install(self, spec, prefix):
R('CMD', 'INSTALL', '--library=%s' % R('CMD', 'INSTALL', '--library={0}'.format(self.module.r_lib_dir),
self.module.r_lib_dir, '%s' % self.stage.source_path) self.stage.source_path)