Remove superfluous pass statements
This commit is contained in:
parent
1c0ec5ad8a
commit
0be0632f45
|
@ -275,19 +275,16 @@ class Dune(CMakePackage):
|
||||||
installer = Executable('bin/dunecontrol')
|
installer = Executable('bin/dunecontrol')
|
||||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'cmake')
|
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'cmake')
|
||||||
pass
|
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
installer = Executable('bin/dunecontrol')
|
installer = Executable('bin/dunecontrol')
|
||||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make', 'install')
|
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make', 'install')
|
||||||
pass
|
|
||||||
|
|
||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
installer = Executable('bin/dunecontrol')
|
installer = Executable('bin/dunecontrol')
|
||||||
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
options_file = join_path(self.stage.source_path, "..", "dune.opts")
|
||||||
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make')
|
installer('--builddir=%s'%self.build_directory , '--opts=%s' % options_file, 'make')
|
||||||
pass
|
|
||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
def install_python_components(self):
|
def install_python_components(self):
|
||||||
|
|
Loading…
Reference in New Issue