From: Zac Medico Date: Sat, 4 Sep 2010 23:39:13 +0000 (-0700) Subject: Ignore build-time blockers from DEPEND in X-Git-Tag: v2.2_rc76~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b8b3dfdd6a0fd8405d1b0979727febe182b7d17d;p=portage.git Ignore build-time blockers from DEPEND in BlockerDB.findInstalledBlockers(), since the given package should be built already. --- diff --git a/pym/_emerge/BlockerDB.py b/pym/_emerge/BlockerDB.py index 53a48bf81..fd4bf5ece 100644 --- a/pym/_emerge/BlockerDB.py +++ b/pym/_emerge/BlockerDB.py @@ -36,8 +36,13 @@ class BlockerDB(object): return fake_vartree def findInstalledBlockers(self, new_pkg, acquire_lock=0): + """ + Search for installed run-time blockers in the root where + new_pkg is planned to be installed. This ignores build-time + blockers, since new_pkg is assumed to be built already. + """ blocker_cache = BlockerCache(self._vartree.root, self._vartree.dbapi) - dep_keys = ["DEPEND", "RDEPEND", "PDEPEND"] + dep_keys = ["RDEPEND", "PDEPEND"] settings = self._vartree.settings stale_cache = set(blocker_cache) fake_vartree = self._get_fake_vartree(acquire_lock=acquire_lock)