commit: 1689911cf9aeb363b23e0bbd4d357cab5ce78538 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Tue Apr 10 22:16:07 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Tue Apr 10 22:16:07 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1689911c
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 pym/portage/dbapi/bintree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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