summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)