summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2016-06-11 16:18:54 -0500
committerGlenn Johnson <glenn-johnson@uiowa.edu>2016-06-16 23:08:55 -0500
commita813f03955397140104b7d926f0fddf925e672bc (patch)
treea9122c8be5dc7d02527b25c75a3ff9fbf4858d9f /var
parent4850b9d4d1446f96732e27053df50c16629ec448 (diff)
downloadspack-a813f03955397140104b7d926f0fddf925e672bc.tar.gz
spack-a813f03955397140104b7d926f0fddf925e672bc.tar.bz2
spack-a813f03955397140104b7d926f0fddf925e672bc.tar.xz
spack-a813f03955397140104b7d926f0fddf925e672bc.zip
Add list_url for old versions.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/r-abind/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-filehash/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-magic/package.py7
3 files changed, 12 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/r-abind/package.py b/var/spack/repos/builtin/packages/r-abind/package.py
index b67a06d9b5..96f623a096 100644
--- a/var/spack/repos/builtin/packages/r-abind/package.py
+++ b/var/spack/repos/builtin/packages/r-abind/package.py
@@ -32,13 +32,13 @@ class RAbind(Package):
'afill' for manipulating, extracting and replacing data in arrays."""
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')
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)
diff --git a/var/spack/repos/builtin/packages/r-filehash/package.py b/var/spack/repos/builtin/packages/r-filehash/package.py
index 924066e063..a09b458eaf 100644
--- a/var/spack/repos/builtin/packages/r-filehash/package.py
+++ b/var/spack/repos/builtin/packages/r-filehash/package.py
@@ -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)
diff --git a/var/spack/repos/builtin/packages/r-magic/package.py b/var/spack/repos/builtin/packages/r-magic/package.py
index 31dab3b8af..f6ba97740b 100644
--- a/var/spack/repos/builtin/packages/r-magic/package.py
+++ b/var/spack/repos/builtin/packages/r-magic/package.py
@@ -32,7 +32,8 @@ class RMagic(Package):
arrays."""
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')
@@ -41,5 +42,5 @@ class RMagic(Package):
depends_on('r-abind')
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)