summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-12-19 20:08:14 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-12-19 20:08:14 -0800
commit3d3bea618e1e72c713794e82b9bb190d0ebf8624 (patch)
tree3e76458678f1121c33632912f54268e4912b23b6 /var
parent32f96b5c73ff25d2a206423b514c831c2ab074fa (diff)
downloadspack-3d3bea618e1e72c713794e82b9bb190d0ebf8624.tar.gz
spack-3d3bea618e1e72c713794e82b9bb190d0ebf8624.tar.bz2
spack-3d3bea618e1e72c713794e82b9bb190d0ebf8624.tar.xz
spack-3d3bea618e1e72c713794e82b9bb190d0ebf8624.zip
Fix empty format strings in some packages.
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/cfitsio/package.py3
-rw-r--r--var/spack/packages/global/package.py6
-rw-r--r--var/spack/packages/tmuxinator/package.py5
3 files changed, 6 insertions, 8 deletions
diff --git a/var/spack/packages/cfitsio/package.py b/var/spack/packages/cfitsio/package.py
index 8ba3a469e8..ff450cb5f3 100644
--- a/var/spack/packages/cfitsio/package.py
+++ b/var/spack/packages/cfitsio/package.py
@@ -9,11 +9,10 @@ class Cfitsio(Package):
version('3.370', 'abebd2d02ba5b0503c633581e3bfa116')
def url_for_version(self, v):
- url = 'ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio{}.tar.gz'
+ url = 'ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio{0}.tar.gz'
return url.format(str(v).replace('.', ''))
def install(self, spec, prefix):
configure('--prefix=' + prefix)
make()
make('install')
-
diff --git a/var/spack/packages/global/package.py b/var/spack/packages/global/package.py
index a77b1bdc09..e8f06516d9 100644
--- a/var/spack/packages/global/package.py
+++ b/var/spack/packages/global/package.py
@@ -4,7 +4,7 @@ import os
class Global(Package):
""" The Gnu Global tagging system """
- # FIXME: add a proper url for your package's homepage here.
+
homepage = "http://www.gnu.org/software/global"
url = "http://tamacom.com/global/global-6.5.tar.gz"
@@ -13,9 +13,9 @@ class Global(Package):
depends_on('exuberant-ctags')
def install(self, spec, prefix):
- config_args = ['--prefix={}'.format(prefix)]
+ config_args = ['--prefix={0}'.format(prefix)]
- config_args.append('--with-exuberant-ctags={}'.format(
+ config_args.append('--with-exuberant-ctags={0}'.format(
os.path.join(spec['exuberant-ctags'].prefix.bin, 'ctags')))
configure(*config_args)
diff --git a/var/spack/packages/tmuxinator/package.py b/var/spack/packages/tmuxinator/package.py
index 26c061cbd6..77ae063e5d 100644
--- a/var/spack/packages/tmuxinator/package.py
+++ b/var/spack/packages/tmuxinator/package.py
@@ -5,7 +5,7 @@ class Tmuxinator(Package):
homepage = "https://github.com/tmuxinator/tmuxinator"
url = "https://github.com/tmuxinator/tmuxinator"
- version('0.6.11',
+ version('0.6.11',
git='https://github.com/tmuxinator/tmuxinator',
tag='v0.6.11')
@@ -13,5 +13,4 @@ class Tmuxinator(Package):
def install(self, spec, prefix):
gem('build', 'tmuxinator.gemspec')
- gem('install', 'tmuxinator-{}.gem'.format(self.version))
-
+ gem('install', 'tmuxinator-{0}.gem'.format(self.version))