commit | 102220e1f71341e9bc85236074813f191bb389a4 | [log] [tgz] |
---|---|---|
author | Zac Medico <zmedico@gentoo.org> | Sun Sep 02 14:55:56 2018 -0700 |
committer | Zac Medico <zmedico@gentoo.org> | Mon Sep 03 10:38:15 2018 -0700 |
tree | 343a38f1a2215af4e77ea65738aac86bb043cabc | |
parent | 35999c9dd08b695244d4b4850dfa75bce0ad9dec [diff] |
phase-helpers.sh: has/best_version -b in any phase (bug 665038) Since BROOT is only defined in src_* phases, make has/best_version -b use the equivalent /${PORTAGE_OVERRIDE_EPREFIX#/} value that is defined in all phases. This makes has/best_version -b in EAPI 7 behave exactly the same as --host-root behaves in EAPI 6, allowing python ebuilds to call python_setup in any ebuild phase. Bug: https://bugs.gentoo.org/665038 Reviewed-by: Brian Dolbec <dolsen@gentoo.org>