python-single-r1.eclass: Restore PYTHON_SINGLE_TARGET for one impl
authorMichał Górny <mgorny@gentoo.org>
Fri, 29 Nov 2019 15:03:53 +0000 (16:03 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 7 Dec 2019 14:36:27 +0000 (15:36 +0100)
commit4da21ec689a66fe87ef67476dc6245808f6dde88
treed20e692e8b78687af49d11159f18ab8df53539e6
parent26467bacc4d873a6d9ad43ef61e8adc3927c6090
python-single-r1.eclass: Restore PYTHON_SINGLE_TARGET for one impl

Undo the hack that removes PYTHON_SINGLE_TARGET (in favor of plain
PYTHON_TARGETS) when the package supports only one target.  Instead,
output both kinds of flags consistently for all packages, and use IUSE
defaults to enable them when only one interpreter is supported.

This should give similar end results without creating unnecessary
differences between ebuilds with one and multiple implementations.
It will make future API changes easier, as well as simplify tooling
used to detect eclass type.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-single-r1.eclass