With the following configuration in make.conf PYTHON_TARGETS="python3_3 python3_4 python2_7 pypy" USE_PYTHON="3.3 2.7" during emerge python-r1 packages spit out the following warning * It seems that your USE_PYTHON setting lists different Python * implementations than your PYTHON_TARGETS variable. Please consider * using the following value instead: * * USE_PYTHON='3.3 2.7 3.4 2.7-pypy-' * * Please note that after changing the USE_PYTHON variable, you may need * to run 'python-updater' to rebuild affected packages. * * For more information on PYTHON_TARGETS and python.eclass * compatibility, please see the relevant Wiki article [1]. * * [1] https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS while according to https://wiki.gentoo.org/wiki/Project:Python/Implementations there are no USE_PYTHON equivalents for python3_4 and pypy. The new value suggested is invalid and causes python.eclass packages to fail with "USE_PYTHON variable contains invalid value" error. Reproducible: Always Actual Results: A misleading warning that suggests invalid modifications appears. Expected Results: The eclass should take into account that these PYTHON_TARGETS have no USE_PYTHON equivalents and skip them when checking USE_PYTHON.
Created attachment 374284 [details] emerge --info
Bugs 506390 and 506346 look like the result of a user following the incorrect suggestion.
+ 05 Apr 2014; Michał Górny <mgorny@gentoo.org> python-r1.eclass: + Fix improper suggestions to put unsupported implmentations in USE_PYTHON, bug + #506814. I hope I got everything right.