* [gentoo-commits] portage r13167 - main/branches/2.1.6/bin
@ 2009-03-23 2:22 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-03-23 2:22 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-03-23 02:22:50 +0000 (Mon, 23 Mar 2009)
New Revision: 13167
Modified:
main/branches/2.1.6/bin/ebuild
Log:
Only check for ebuild/eclass modification when a relevant phase is called.
(trunk r13150)
Modified: main/branches/2.1.6/bin/ebuild
===================================================================
--- main/branches/2.1.6/bin/ebuild 2009-03-23 02:22:21 UTC (rev 13166)
+++ main/branches/2.1.6/bin/ebuild 2009-03-23 02:22:50 UTC (rev 13167)
@@ -195,17 +195,18 @@
tmpsettings.backup_changes("EBUILD_SKIP_MANIFEST")
portage._doebuild_manifest_exempt_depend += 1
+build_dir_phases = set(["setup", "unpack", "prepare", "configure", "compile",
+ "test", "install", "package", "rpm", "merge", "qmerge"])
+
# If the current metadata is invalid then force the ebuild to be
# sourced again even if $T/environment already exists.
ebuild_changed = False
-metadata, st, emtime = \
- portage.portdb._pull_valid_cache(cpv, ebuild, ebuild_portdir)
-if metadata is None:
- ebuild_changed = True
+if build_dir_phases.intersection(pargs):
+ metadata, st, emtime = \
+ portage.portdb._pull_valid_cache(cpv, ebuild, ebuild_portdir)
+ if metadata is None:
+ ebuild_changed = True
-build_dir_phases = set(["setup", "unpack", "prepare", "configure", "compile",
- "test", "install", "package", "rpm"])
-
def stale_env_warning():
if "clean" not in pargs and \
"noauto" not in tmpsettings.features and \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-23 2:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23 2:22 [gentoo-commits] portage r13167 - main/branches/2.1.6/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