Created attachment 328052 [details, diff] Patch against the current ebuild If you tried the following: $ mv /usr/bin/python{,~} $ ln -s jython2.5 /usr/bin/python You'd notice that running 'python' results in a fork-dead-loop of jython spawning itself through java-config. This effectively means that it is impossible to set Jython as the default Python implementation. However, there's an easy fix. If java-config was migrated to python-r1/distutils-r1, the new (and better) python-exec wrapper would not try running java-config with jython, effectively fixing the issue. I'm attaching the new ebuild and a diff against the current one. If you have any questions, I'd be glad to answer them.
Created attachment 328054 [details] The updated ebuild
That's a known issue. Wanted to migrate anyway. Did a handful changes to your patch though. Thanks for the report. *java-config-2.1.12-r1 (05 Dec 2012) 05 Dec 2012; <sera@gentoo.org> +java-config-2.1.12-r1.ebuild: Migrate to distutils-r1, thanks to mgorny for an initial patch. #440920 Drop hotfixes for #415397, #305773, #350459 as they were fixed in 2.1.12.