return retval
class EbuildBuild(Task):
-
- __slots__ = ("pkg", "pretend", "settings")
+ """
+ TODO: Support asynchronous execution, to implement parallel builds.
+ """
+ __slots__ = ("pkg", "settings")
def _get_hash_key(self):
hash_key = getattr(self, "_hash_key", None)
class EbuildBinpkg(Task):
- __slots__ = ("pkg", "pretend", "settings")
+ __slots__ = ("pkg", "settings")
def _get_hash_key(self):
hash_key = getattr(self, "_hash_key", None)
(mergecount, len(mymergelist), pkg_key)
emergelog(xterm_titles, msg, short_msg=short_msg)
- build = EbuildBinpkg(pkg=pkg, pretend=pretend,
- settings=pkgsettings)
+ build = EbuildBinpkg(pkg=pkg, settings=pkgsettings)
retval = build.execute()
if retval != os.EX_OK:
raise self._pkg_failure(retval)
(mergecount, len(mymergelist), pkg_key)
emergelog(xterm_titles, msg, short_msg=short_msg)
- build = EbuildBuild(ldpath_mtimes=ldpath_mtimes,
- pkg=pkg, pretend=pretend, settings=pkgsettings)
+ build = EbuildBuild(pkg=pkg, settings=pkgsettings)
retval = build.execute()
if retval != os.EX_OK:
raise self._pkg_failure(retval)