Пример #1
0
    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)
Пример #2
0
    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)
Пример #3
0
    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)
Пример #5
0
 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)
 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)