Description: Several files pull in eselect and eselect-python packages even when use flag python is not set. This is not visible on a default installation because eselect is installed anyway, if one is crosscompiling he doesn't need portage on the other system so please get rid of unnecessary portage and python dependencies. Steps to reproduce: USE="-*" emerge -pe file Expected result: These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/file-5.04 ... or similar ... Real result: more than that ebuild only... Proposal for fix: In file python.eclass line 155 --DEPEND=">=app-admin/eselect-python-20091230" ++DEPEND="python? ( >=app-admin/eselect-python-20091230 )" But that fix is only partial. E.g libxml2 still pulls in eselect, without deep knowledge of the portage system there is no obvious place to patch (like for the former problem). If the "python?" part is removed from the RDEPEND in libxml2xyz.ebuild eselect is not pulled in anymore so it has nothing to do with the new "PYTHON_DEPEND" var and I have my quick-workaround. Sadly I'm in a hurry and have no time to dig deeper into portage, I assume one of the gurus will have a fix...
Many ebuilds inheriting python.eclass don't have "python" USE flag. DEPEND/RDEPEND cannot specify dependencies conditional on unsupported USE flags. Additionally I'm planning that app-admin/eselect-python will be somewhen added to system set.