/[gli]/branches/qs/src/GLIPortage.py
Gentoo

Diff of /branches/qs/src/GLIPortage.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1888 Revision 1899
286# return portage.best(tree.match(package)) 286# return portage.best(tree.match(package))
287 287
288 def emerge(self, packages, grp_install=False, add_to_world=True): 288 def emerge(self, packages, grp_install=False, add_to_world=True):
289 if isinstance(packages, str): 289 if isinstance(packages, str):
290 packages = packages.split() 290 packages = packages.split()
291 if len(packages) > 1:
292 self._cc.addNotification("progress", (0, "Calculating dependencies for your packages"))
293 else:
291 self._cc.addNotification("progress", (0, "Calculating dependencies for " + " ".join(packages))) 294 self._cc.addNotification("progress", (0, "Calculating dependencies for " + " ".join(packages)))
292 pkglist = self.get_deps(packages, grp_install) 295 pkglist = self.get_deps(packages, grp_install)
293 if self._debug: self._logger.log("install_packages(): pkglist is " + str(pkglist)) 296 if self._debug: self._logger.log("install_packages(): pkglist is " + str(pkglist))
294 for i, pkg in enumerate(pkglist): 297 for i, pkg in enumerate(pkglist):
295 if not pkg: continue 298 if not pkg: continue
296 if self._debug: self._logger.log("install_packages(): processing package " + pkg) 299 if self._debug: self._logger.log("install_packages(): processing package " + pkg)

Legend:
Removed from v.1888  
changed lines
  Added in v.1899

  ViewVC Help
Powered by ViewVC 1.1.20