python-single-r1.eclass: Fix python_gen_* w/ single PYTHON_COMPAT impl
authorMichał Górny <mgorny@gentoo.org>
Sat, 12 Dec 2015 22:12:10 +0000 (23:12 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 22 Dec 2015 22:12:23 +0000 (23:12 +0100)
commit3923a952a771f567bb620cac42c4c4f2415db8d2
treefd7281b655a4b0a9321e9849acb08ce118119058
parent33380ad5e121a47375442de08fd9239b9102b1fa
python-single-r1.eclass: Fix python_gen_* w/ single PYTHON_COMPAT impl

Fix python_gen_useflags() and python_gen_cond_dep() to output correct
flag name when only a single implementation is listed in PYTHON_COMPAT.
In this case, the PYTHON_SINGLE_TARGET flags are not emitted
and PYTHON_TARGETS are used directly instead.
eclass/python-single-r1.eclass