From: Zac Medico Date: Sun, 1 Jul 2007 08:39:24 +0000 (-0000) Subject: Revert --buildpkgonly logic back because it was already correct. (trunk r7110) X-Git-Tag: v2.1.3~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=890becf9732d9a0d3ecdc8be662c8453b731a4c7;p=portage.git Revert --buildpkgonly logic back because it was already correct. (trunk r7110) svn path=/main/branches/2.1.2/; revision=7111 --- diff --git a/bin/emerge b/bin/emerge index ba0937e4a..bf33f5839 100755 --- a/bin/emerge +++ b/bin/emerge @@ -5207,13 +5207,13 @@ def action_build(settings, trees, mtimedb, mydepgraph.display( mydepgraph.altlist(reversed=("--tree" in myopts))) if "--buildpkgonly" in myopts and \ - not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM_SOFT): + not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): print "\n!!! --buildpkgonly requires all dependencies to be merged." print "!!! You have to merge the dependencies before you can build this package.\n" sys.exit(1) else: if ("--buildpkgonly" in myopts): - if not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM_SOFT): + if not mydepgraph.digraph.hasallzeros(ignore_priority=DepPriority.MEDIUM): print "\n!!! --buildpkgonly requires all dependencies to be merged." print "!!! Cannot merge requested packages. Merge deps and try again.\n" sys.exit(1)