python-r1.eclass: fix python_setup
authorMike Gilbert <floppym@gentoo.org>
Thu, 18 May 2017 14:42:58 +0000 (10:42 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 18 May 2017 14:51:11 +0000 (10:51 -0400)
A non-existant "impl" variable was being passed to _python_impl_matches.

eclass/python-r1.eclass

index 6181ec32af61b18cc8de17a0a5e6a1a6fdc58156..8de0a851856c2890f087198c30b2405851071290 100644 (file)
@@ -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
        }