diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-14 14:53:48 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-14 14:53:48 -0700 |
commit | 382846da2f7c30e352a55c91131fd37eef7174b3 (patch) | |
tree | fb07e5f511a1a83dc4d595d1541d0966a8d29d9c | |
parent | dda534456c78a4927ad5c92352d9a5b9a7071923 (diff) | |
download | portage-382846da2f7c30e352a55c91131fd37eef7174b3.tar.gz portage-382846da2f7c30e352a55c91131fd37eef7174b3.tar.bz2 portage-382846da2f7c30e352a55c91131fd37eef7174b3.zip |
Set PORTAGE_REPO_NAME for depend phase.
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 1 |
1 files changed, 1 insertions, 0 deletions
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"]) |