+++ This bug was initially created as a clone of Bug #487352 +++ python-any-r1 has been given a new 'python_gen_any_dep' [1] function that can be used to generate deps that will enforce that all packages will have at least one matching python impl (along with python_check_deps()). I'm attaching a diff that makes use of the new function. It applies to both ebuilds using the eclass. Please either commit the change or let me know that you're ok with it. Since it's fairly trivial, I will commit it on the weekend if I get no reply. If you have any questions, feel free to ask here or on the IRC. [1]:http://wiki.gentoo.org/wiki/Python/python-any-r1#python_gen_any_dep
(sorry, hit 'enter' too fast)
Created attachment 360436 [details, diff] Ebuild diff
Only one note: + [[ ${MERGE_TYPE} != binary ]] && use test && python-any-r1_pkg_setup Is there any case needing python-any-r1_pkg_setup with "binary"? If not, why not move that part inside "python-any-r1_pkg_setup" (returning when "binary")?
I don't see a good reason to enforce a design limitation like this. I guess some packages may actually need Python during pkg_*.
Committed.