All java packages using the java-ant2.eclass are blocking the removal of the highest version of pyhton installed due to the simple depend on >python-2.4. Please use the pyhton-single-r1.eclass.
Created attachment 352342 [details, diff] Replace python dep in java-ant-2.eclass Bringing in python-any-r1 or python-single-r1 means we have to declare PYTHON_COMPAT, which could be problematic in an eclass. Another alternative which would resolve Justin's problem would be to list each python slot in an || dep. See attached patch.
Yes, that's a design issue I missed when designing the eclass. Although common names have their benefits, we end up with conflicts when trying to use more than one eclass. I wonder if we could do some hacking to support that. Like eclass defining PYTHON_COMPAT only when not set by ebuild and allowing some of eclass mixes.
@QA, one of your current projects [1] is to remove old python stuff. Could you please proceed here. 1) https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Current_projects
Unless I'm missing something, we're on our way to remove the java code from this eclass, and make it Python-free wrt bug #479838. *** This bug has been marked as a duplicate of bug 479838 ***