Beispiel #1
0
    def build(self):
        """Build the package in one shot."""

        ctx.ui.info(_("Building PISI source package: %s") % self.spec.source.name)
        util.xterm_title(_("Building PISI source package: %s\n") % self.spec.source.name)
        
        self.compile_action_script()
   
        # check if all patch files exists, if there are missing no need to unpack!
        self.patch_exists()
  
        self.fetch_source_archive()

        self.unpack_source_archive()

        self.solve_build_dependencies()

        # apply the patches and prepare a source directory for build.
        self.apply_patches()

        self.run_setup_action()
        self.run_build_action()
        self.run_install_action()

        self.strip_install_dir()

        # after all, we are ready to build/prepare the packages
        self.build_packages()
Beispiel #2
0
 def status(self, msg=None):
     if msg:
         msg = unicode(msg)
         self.output(colorize(msg + "\n", "purple"))
         util.xterm_title(msg)
Beispiel #3
0
 def status(self, msg = None):
     if msg:
         msg = unicode(msg)
         self.output(colorize(msg + '\n', 'purple'))
         util.xterm_title(msg)
Beispiel #4
0
 def status(self, msg=None):
     if msg:
         msg = unicode(msg)
         self.output(colorize(msg + '\n', 'purple'))
         util.xterm_title(msg)