From: Zac Medico Date: Thu, 14 Jul 2011 21:53:48 +0000 (-0700) Subject: Set PORTAGE_REPO_NAME for depend phase. X-Git-Tag: v2.2.0_alpha46~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=382846da2f7c30e352a55c91131fd37eef7174b3;p=portage.git Set PORTAGE_REPO_NAME for depend phase. --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index fb29b0062..49b67aca0 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -212,6 +212,7 @@ def doebuild_environment(myebuild, mydo, myroot=None, settings=None, repo_info = mydbapi._repo_info[mytree] mysettings['PORTDIR'] = repo_info.portdir mysettings['PORTDIR_OVERLAY'] = repo_info.portdir_overlay + mysettings.configdict["pkg"]["PORTAGE_REPO_NAME"] = repo_info.name mysettings["PORTDIR"] = os.path.realpath(mysettings["PORTDIR"]) mysettings["DISTDIR"] = os.path.realpath(mysettings["DISTDIR"])