public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r9861 - main/branches/2.1.2/bin
@ 2008-04-13  1:56 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-04-13  1:56 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-04-13 01:56:35 +0000 (Sun, 13 Apr 2008)
New Revision: 9861

Modified:
   main/branches/2.1.2/bin/emerge
Log:
In --buildpkgonly mode, don't discard RDEPEND and PDEPEND if --empty or
--deep are enabled. The makes it possible to run `emerge -eB world` and
have every single package rebuilt (without actually installing anything).
(trunk r9860)


Modified: main/branches/2.1.2/bin/emerge
===================================================================
--- main/branches/2.1.2/bin/emerge	2008-04-13 01:53:04 UTC (rev 9860)
+++ main/branches/2.1.2/bin/emerge	2008-04-13 01:56:35 UTC (rev 9861)
@@ -2144,10 +2144,12 @@
 		for k in depkeys:
 			edepend[k] = metadata[k]
 
-		if mytype == "ebuild":
-			if "--buildpkgonly" in self.myopts:
-				edepend["RDEPEND"] = ""
-				edepend["PDEPEND"] = ""
+		if not pkg.built and \
+			"--buildpkgonly" in self.myopts and \
+			"deep" not in self.myparams and \
+			"empty" not in self.myparams:
+			edepend["RDEPEND"] = ""
+			edepend["PDEPEND"] = ""
 		bdeps_satisfied = False
 		if mytype in ("installed", "binary"):
 			if self.myopts.get("--with-bdeps", "n") == "y":

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-13  1:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13  1:56 [gentoo-commits] portage r9861 - main/branches/2.1.2/bin Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox