The standard OSX python distutils distribution by default installs scripts into /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ which is not in the users' standard search PATH. This two-line patch makes distutils.eclass adds the option "--install-scripts /usr/bin" to the "setup.py install" command, only for ppc-macos. I realise that users can simply add the above directory to their PATH variable, but this is not the ideal solution, as some OSX gui apps (ie carbon emacs with ipython support) need certain python scripts in /usr/bin for full functionality. Note that this is a solution to bug #84815 - http://bugs.gentoo.org/show_bug.cgi?id=84815 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 58645 [details, diff] makes distutils.eclass install scripts into /usr/bin on ppc-macos patch -p0 <distutils.eclass.patch
Please use prefix, where we use our own python on OSX