octave: fix formatting
This commit is contained in:
parent
ce3146e91a
commit
c78349a3a4
1 changed files with 27 additions and 26 deletions
|
@ -95,7 +95,6 @@ class Octave(Package):
|
||||||
depends_on('suite-sparse', when='+suitesparse')
|
depends_on('suite-sparse', when='+suitesparse')
|
||||||
depends_on('zlib', when='+zlib')
|
depends_on('zlib', when='+zlib')
|
||||||
|
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
config_args = [
|
config_args = [
|
||||||
"--prefix=%s" % prefix
|
"--prefix=%s" % prefix
|
||||||
|
@ -160,7 +159,8 @@ def install(self, spec, prefix):
|
||||||
config_args.append("--without-glpk")
|
config_args.append("--without-glpk")
|
||||||
|
|
||||||
if '+magick' in spec:
|
if '+magick' in spec:
|
||||||
config_args.append("--with-magick=%s" % spec['ImageMagick'].prefix.lib)
|
config_args.append("--with-magick=%s"
|
||||||
|
% spec['ImageMagick'].prefix.lib)
|
||||||
|
|
||||||
if '+hdf5' in spec:
|
if '+hdf5' in spec:
|
||||||
config_args.extend([
|
config_args.extend([
|
||||||
|
@ -193,7 +193,8 @@ def install(self, spec, prefix):
|
||||||
|
|
||||||
if '+qrupdate' in spec:
|
if '+qrupdate' in spec:
|
||||||
config_args.extend([
|
config_args.extend([
|
||||||
"--with-qrupdate-includedir=%s" % spec['qrupdate'].prefix.include,
|
"--with-qrupdate-includedir=%s"
|
||||||
|
% spec['qrupdate'].prefix.include,
|
||||||
"--with-qrupdate-libdir=%s" % spec['qrupdate'].prefix.lib
|
"--with-qrupdate-libdir=%s" % spec['qrupdate'].prefix.lib
|
||||||
])
|
])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue