of the same package are never processed more than once. (trunk r12122)
svn path=/main/branches/2.1.6/; revision=12123
#IUSE-aware emerge -> USE DEP aware depgraph
#"no downgrade" emerge
"""
+ # Ensure that the dependencies of the same package
+ # are never processed more than once.
+ previously_added = pkg in self.digraph
# select the correct /var database that we'll be checking against
vardbapi = self.trees[pkg.root]["vartree"].dbapi
if args:
depth = 0
pkg.depth = depth
- dep_stack.append(pkg)
+ if not previously_added:
+ dep_stack.append(pkg)
return 1
def _add_pkg_deps(self, pkg, allow_unsatisfied=False):