projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
722a0db
)
If PORTAGE_BINHOST is defined then use it as a URI attribute in the Packages index...
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2007 22:08:30 +0000
(22:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Jun 2007 22:08:30 +0000
(22:08 -0000)
svn path=/main/trunk/; revision=6723
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index 0df22a36c5fecb562f0f58272488af6f14685c74..89253a11f4e67f26522c85601be94955cd6add97 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-739,6
+739,9
@@
class binarytree(object):
profile_path = profile_path.lstrip(profiles_base)
header["PROFILE"] = profile_path
header["VERSION"] = str(self._pkgindex_version)
+ binhost = self.settings.get("PORTAGE_BINHOST")
+ if binhost:
+ header["URI"] = binhost
for k in self._pkgindex_header_keys:
v = self.settings.get(k, None)
if v: