From b8b3dfdd6a0fd8405d1b0979727febe182b7d17d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 4 Sep 2010 16:39:13 -0700 Subject: [PATCH] Ignore build-time blockers from DEPEND in BlockerDB.findInstalledBlockers(), since the given package should be built already. --- pym/_emerge/BlockerDB.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.26.2