projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda5344
)
Set PORTAGE_REPO_NAME for depend phase.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 14 Jul 2011 21:53:48 +0000
(14:53 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 14 Jul 2011 21:53:48 +0000
(14:53 -0700)
pym/portage/package/ebuild/doebuild.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/doebuild.py
b/pym/portage/package/ebuild/doebuild.py
index fb29b00625f8d689fae31f62410b312c04e2dc95..49b67aca0aa7c4f594a4ce39bf5ef5307c227861 100644
(file)
--- 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"])