something like this [...] REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) [...] pkg_setup() { if use python ; then python-single-r1_pkg_setup else python-any-r1_pkg_setup fi [...] in the case of python-any-r1 the python useflags would still be there, but could all be deactivated without pkg_setup bailing out
How would we handle the deps? We'd need two different values of ${PYTHON_DEPS} and I see no clear way forward. Either we duplicate variables, and introduce extra confusion, or break compatibility (which we can't do :)).
Never got any reply on the ml.
I don't think this is going to happen. python-r1 has any-r1-like API these days, to provide partial solution to the problem. As for python-single-r1, you just have to live with the extra USE flags.