octave: rename executable Octave to octave
This commit is contained in:
@@ -36,7 +36,7 @@ class OctaveSplines(Package):
|
|||||||
extends('octave@3.6.0:')
|
extends('octave@3.6.0:')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
Octave('--quiet',
|
octave('--quiet',
|
||||||
'--norc',
|
'--norc',
|
||||||
'--built-in-docstrings-file=/dev/null',
|
'--built-in-docstrings-file=/dev/null',
|
||||||
'--texi-macros-file=/dev/null',
|
'--texi-macros-file=/dev/null',
|
||||||
|
@@ -223,7 +223,7 @@ def setup_dependent_package(self, module, ext_spec):
|
|||||||
"""Called before Octave modules' install() methods.
|
"""Called before Octave modules' install() methods.
|
||||||
|
|
||||||
In most cases, extensions will only need to have one line:
|
In most cases, extensions will only need to have one line:
|
||||||
Octave('--eval', 'pkg install %s' % self.stage.archive_file)
|
octave('--eval', 'pkg install %s' % self.stage.archive_file)
|
||||||
"""
|
"""
|
||||||
# Octave extension builds can have a global Octave executable function
|
# Octave extension builds can have a global Octave executable function
|
||||||
module.Octave = Executable(join_path(self.spec.prefix.bin, 'octave'))
|
module.octave = Executable(join_path(self.spec.prefix.bin, 'octave'))
|
||||||
|
Reference in New Issue
Block a user