def __init__(self, **kwargs): CompositeTask.__init__(self, **kwargs) pkg = self.pkg bintree = pkg.root_config.trees["bintree"] binpkg_path = None if bintree._remote_has_index: instance_key = bintree.dbapi._instance_key(pkg.cpv) binpkg_path = bintree._remotepkgs[instance_key].get("PATH") if binpkg_path: self.pkg_path = binpkg_path + ".partial" else: self.pkg_path = (pkg.root_config.trees["bintree"].getname( pkg.cpv, allocate_new=True) + ".partial") else: raise FileNotFound("Binary packages index not found")
def __init__(self, **kwargs): CompositeTask.__init__(self, **kwargs) self._fetcher_proc = _EbuildFetcherProcess(**kwargs)
def __init__(self, **kwargs): CompositeTask.__init__(self, **kwargs) pkg = self.pkg self.pkg_path = pkg.root_config.trees["bintree"].getname( pkg.cpv) + ".partial"
def __init__(self, config): CompositeTask.__init__(self, scheduler=config.event_loop) self._config = config self._term_rlock = threading.RLock() self._term_callback_handle = None self._fetch_iterator = None
def __init__(self, config): CompositeTask.__init__(self, scheduler=config.event_loop) self._config = config self._terminated = threading.Event()