From 1da85da5f7033e9adbdbac2d72355b7b86beb7a6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 19 Dec 2006 00:10:21 +0000 Subject: [PATCH] For bug #158503, allow --nodeps to override blockers. svn path=/main/trunk/; revision=5321 --- bin/emerge | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/emerge b/bin/emerge index edccaf4fc..1a41d96c6 100755 --- a/bin/emerge +++ b/bin/emerge @@ -925,7 +925,9 @@ class depgraph: self.spinner.update() if mytype == "blocks": - if addme and "--buildpkgonly" not in self.myopts and myparent: + if myparent and \ + "--buildpkgonly" not in self.myopts and \ + "--nodeps" not in self.myopts: mybigkey[1] = myparent[1] self.blocker_parents.setdefault( tuple(mybigkey), set()).add(myparent) @@ -1538,7 +1540,8 @@ class depgraph: correct merge order such that mutually blocking packages are never installed simultaneously.""" - if "--buildpkgonly" in self.myopts: + if "--buildpkgonly" in self.myopts or \ + "--nodeps" in self.myopts: return True #if "deep" in self.myparams: -- 2.26.2