Ejemplo n.º 1
0
 def install(self):
     with tempdir() as workdir:
         updir = self._unpack()
         try:
             with chstdin("y"):
                 self.target.do("bash",os.path.join(updir,"install"),"--prefix",self.PREFIX,"--silent")
         except subprocess.CalledProcessError:
             pass
     if not os.path.isdir(os.path.join(self.PREFIX,"lib")):
         os.mkdir(os.path.join(self.PREFIX,"lib"))
     open(os.path.join(self.PREFIX,"lib","apbuild-base--installed.txt"),"wb").close()
Ejemplo n.º 2
0
 def install(self):
     with tempdir() as workdir:
         updir = self._unpack()
         try:
             with chstdin("y"):
                 self.target.do("bash", os.path.join(updir, "install"),
                                "--prefix", self.PREFIX, "--silent")
         except subprocess.CalledProcessError:
             pass
     if not os.path.isdir(os.path.join(self.PREFIX, "lib")):
         os.mkdir(os.path.join(self.PREFIX, "lib"))
     open(os.path.join(self.PREFIX, "lib", "apbuild-base--installed.txt"),
          "wb").close()
Ejemplo n.º 3
0
 def _configure(self):
     # automatically accept the LGPL
     with chstdin("yes"):
         super(_lib_qt4_base,self)._configure()
Ejemplo n.º 4
0
Archivo: base.py Proyecto: mgiay/myppy
 def _configure(self):
     # automatically accept the LGPL
     with chstdin("yes"):
         super(_lib_qt4_base,self)._configure()