Since revision 1.12, python-single-r1.eclass has a broken python-single-r1_pkg_setup() that always errs. The revision is supposed to fix bug 447808. See the diff at http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/python-single-r1.eclass?r1=1.11&r2=1.12 . I guess the function needs a "return" somewhere. For example, net-misc/youtube-dl fails with the following output, whether I set the mentioned variable in make.conf (previously it was not needed) or not. * No Python implementation selected for the build. Please set * the PYTHON_SINGLE_TARGET variable in your make.conf to one * of the following values: * * python2_5 python2_6 python2_7 * ERROR: net-misc/youtube-dl-2013.01.06 failed (setup phase): * No supported Python implementation in PYTHON_SINGLE_TARGET. * * Call stack: * ebuild.sh, line 93: Called pkg_setup * ebuild.sh, line 327: Called python-single-r1_pkg_setup * python-single-r1.eclass, line 207: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_SINGLE_TARGET." *
Yes, you are correct, I'm sorry. I was committing this in a hurry and forgot to test the 'working case'. I'll fix this in 10 minutes, after testing thoroughly this time.
Now it should work fine.