aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-04-10 15:16:07 -0700
committerZac Medico <zmedico@gentoo.org>2018-04-10 15:16:07 -0700
commit1689911cf9aeb363b23e0bbd4d357cab5ce78538 (patch)
tree1eaf8afc822fbbdde57b4eb2bada8cc4f5475d75
parentbinarytree._update_pkgindex_header: skip update if profile invalid (bug 640318) (diff)
downloadportage-1689911cf9aeb363b23e0bbd4d357cab5ce78538.tar.gz
portage-1689911cf9aeb363b23e0bbd4d357cab5ce78538.tar.bz2
portage-1689911cf9aeb363b23e0bbd4d357cab5ce78538.zip
binarytree._update_pkgindex_header: include USE_EXPAND_UNPREFIXED vars (bug 640318)
Values of USE_EXPAND_UNPREFIXED variables are required for implicit IUSE calculations. Bug: https://bugs.gentoo.org/640318
-rw-r--r--pym/portage/dbapi/bintree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index ab4f4760d..324305aef 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -1321,7 +1321,8 @@ class binarytree(object):
header["URI"] = base_uri
else:
header.pop("URI", None)
- for k in self._pkgindex_header_keys:
+ for k in list(self._pkgindex_header_keys) + \
+ self.settings.get("USE_EXPAND_UNPREFIXED", "").split():
v = self.settings.get(k, None)
if v:
header[k] = v