Remove superfluous pass statements

This commit is contained in:
Dominic Kempf 2020-05-14 09:41:22 +02:00
parent 1c0ec5ad8a
commit 0be0632f45
1 changed files with 0 additions and 3 deletions

View File

@ -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):