summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-17 12:25:31 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-17 12:25:31 -0700
commit6e46d31e069d478d51ab2c0febc90f3f69874850 (patch)
tree6e8018fdffabc57b4047eb17903c1ccf8e44c96b
parent9a8cb932580156764e3c66b3e3d0b274a5a95fb6 (diff)
downloadportage-6e46d31e069d478d51ab2c0febc90f3f69874850.tar.gz
portage-6e46d31e069d478d51ab2c0febc90f3f69874850.tar.bz2
portage-6e46d31e069d478d51ab2c0febc90f3f69874850.zip
doebuild: export REPLACING_VERSIONS more
This is for api consumers like Sabayon's Entropy.
-rw-r--r--pym/portage/package/ebuild/doebuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 5c81fbd45..782e8f1b5 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -702,7 +702,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
mysettings.configdict["pkg"]["MERGE_TYPE"] = "binary"
if eapi_exports_replace_vars(mysettings["EAPI"]) and \
- (mydo in ("pretend", "setup") or \
+ (mydo in ("postinst", "postrm", "preinst", "prerm", "pretend", "setup") or \
("noauto" not in features and not returnpid and \
(mydo in actionmap_deps or mydo in ("merge", "package", "qmerge")))):
if not vartree: