Created attachment 395184 [details, diff] Ebuild fix to make sure the Python plugin is built on Python 3.x. When building net-irc/weechat (with any ebuild version currently in the tree) with USE=python and PYTHON_SINGLE_TARGET=python3_*, a Python plugin ($PREFIX/lib/weechat/plugins/python.so) will not be produced as a result of the ebuild not activating the CMake ENABLE_PYTHON3 flag that makes WeeChat accept a Python 3.x interpreter for the Python plugin. Attached is a patch to weechat-9999.ebuild that will make sure -DENABLE_PYTHON3 is passed to CMake when PYTHON_SINGLE_TARGET is of the 3.x family. It can be trivially backported to the earlier-version ebuilds.
This bug only surfaces on a system with no Python 2.x interpreter in its path - else, regardless of PYTHON_SINGLE_TARGET and friends, the build system will happily use that.
Thanks, fixed in 1.1.1 and 9999.