commit:     e767fd990b89bce010b9e9a29c2892eecbf15fa9
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 01:18:10 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Apr 13 01:22:23 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e767fd99

binarytree._update_pkgindex_header: include USE_EXPAND_IMPLICIT vars (bug 
644990)

It's useful to have values of USE_EXPAND_IMPLICIT variables in the
Packages header.

Bug: https://bugs.gentoo.org/644990

 pym/portage/dbapi/bintree.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 324305aef..a963c578e 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -1322,6 +1322,7 @@ class binarytree(object):
                else:
                        header.pop("URI", None)
                for k in list(self._pkgindex_header_keys) + \
+                       self.settings.get("USE_EXPAND_IMPLICIT", "").split() + \
                        self.settings.get("USE_EXPAND_UNPREFIXED", "").split():
                        v = self.settings.get(k, None)
                        if v:

Reply via email to