def run(self): """Build toy extension.""" super(Toy_Extension, self).run(unpack_src=True) EB_toy.configure_step(self.master, name=self.name) EB_toy.build_step(self.master, name=self.name, buildopts=self.cfg['buildopts']) if self.cfg['toy_ext_param']: run_cmd(self.cfg['toy_ext_param']) EB_toy.install_step(self.master, name=self.name)
def run(self): """Build toy extension.""" super(Toy_Extension, self).run(unpack_src=True) EB_toy.configure_step(self.master, name=self.name) EB_toy.build_step(self.master, name=self.name, buildopts=self.cfg['buildopts']) if self.cfg['toy_ext_param']: run_cmd(self.cfg['toy_ext_param']) EB_toy.install_step(self.master, name=self.name) return self.module_generator.set_environment('TOY_EXT_%s' % self.name.upper(), self.name)
def run(self): """Build toy extension.""" if self.src: super(Toy_Extension, self).run(unpack_src=True) EB_toy.configure_step(self.master, name=self.name) EB_toy.build_step(self.master, name=self.name, buildopts=self.cfg['buildopts']) if self.cfg['toy_ext_param']: run_cmd(self.cfg['toy_ext_param']) EB_toy.install_step(self.master, name=self.name) return self.module_generator.set_environment('TOY_EXT_%s' % self.name.upper(), self.name)
def run(self, *args, **kwargs): """ Install toy extension. """ if self.src: EB_toy.build_step(self.master, name=self.name, buildopts=self.cfg['buildopts']) if self.cfg['toy_ext_param']: run_cmd(self.cfg['toy_ext_param']) return self.module_generator.set_environment( 'TOY_EXT_%s' % self.name.upper().replace('-', '_'), self.name)
def run(self): """Build toy extension.""" super(Toy_Extension, self).run(unpack_src=True) EB_toy.configure_step(self.master, name=self.name) EB_toy.build_step(self.master, name=self.name) EB_toy.install_step(self.master, name=self.name)