From 382846da2f7c30e352a55c91131fd37eef7174b3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 14 Jul 2011 14:53:48 -0700 Subject: [PATCH] Set PORTAGE_REPO_NAME for depend phase. --- pym/portage/package/ebuild/doebuild.py | 1 + 1 file changed, 1 insertion(+) 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"]) -- 2.26.2