Fix empty format strings in some packages.
This commit is contained in:
parent
32f96b5c73
commit
3d3bea618e
@ -9,11 +9,10 @@ class Cfitsio(Package):
|
|||||||
version('3.370', 'abebd2d02ba5b0503c633581e3bfa116')
|
version('3.370', 'abebd2d02ba5b0503c633581e3bfa116')
|
||||||
|
|
||||||
def url_for_version(self, v):
|
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('.', ''))
|
return url.format(str(v).replace('.', ''))
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure('--prefix=' + prefix)
|
configure('--prefix=' + prefix)
|
||||||
make()
|
make()
|
||||||
make('install')
|
make('install')
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
class Global(Package):
|
class Global(Package):
|
||||||
""" The Gnu Global tagging system """
|
""" The Gnu Global tagging system """
|
||||||
# FIXME: add a proper url for your package's homepage here.
|
|
||||||
homepage = "http://www.gnu.org/software/global"
|
homepage = "http://www.gnu.org/software/global"
|
||||||
url = "http://tamacom.com/global/global-6.5.tar.gz"
|
url = "http://tamacom.com/global/global-6.5.tar.gz"
|
||||||
|
|
||||||
@ -13,9 +13,9 @@ class Global(Package):
|
|||||||
depends_on('exuberant-ctags')
|
depends_on('exuberant-ctags')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
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')))
|
os.path.join(spec['exuberant-ctags'].prefix.bin, 'ctags')))
|
||||||
|
|
||||||
configure(*config_args)
|
configure(*config_args)
|
||||||
|
@ -13,5 +13,4 @@ class Tmuxinator(Package):
|
|||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
gem('build', 'tmuxinator.gemspec')
|
gem('build', 'tmuxinator.gemspec')
|
||||||
gem('install', 'tmuxinator-{}.gem'.format(self.version))
|
gem('install', 'tmuxinator-{0}.gem'.format(self.version))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user