Example #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()
Example #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()
Example #3
0
 def _configure(self):
     # automatically accept the LGPL
     with chstdin("yes"):
         super(_lib_qt4_base,self)._configure()
Example #4
0
File: base.py Project: mgiay/myppy
 def _configure(self):
     # automatically accept the LGPL
     with chstdin("yes"):
         super(_lib_qt4_base,self)._configure()