commit:     a8b377562184a688fa2133c3688e077048a169a1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 14:42:58 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu May 18 14:51:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8b37756

python-r1.eclass: fix python_setup

A non-existant "impl" variable was being passed to _python_impl_matches.

 eclass/python-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 6181ec32af6..8de0a851856 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -628,7 +628,7 @@ python_setup() {
 
        local best_impl patterns=( "${@-*}" )
        _python_try_impl() {
-               if _python_impl_matches "${impl}" "${patterns[@]}"; then
+               if _python_impl_matches "${EPYTHON}" "${patterns[@]}"; then
                        best_impl=${EPYTHON}
                fi
        }

Reply via email to