From: Zac Medico Date: Fri, 17 Jun 2011 19:25:31 +0000 (-0700) Subject: doebuild: export REPLACING_VERSIONS more X-Git-Tag: v2.2.0_alpha42~52 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6e46d31e069d478d51ab2c0febc90f3f69874850;p=portage.git doebuild: export REPLACING_VERSIONS more This is for api consumers like Sabayon's Entropy. --- 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: