Re: [gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-19 Thread Michał Górny
On Thu, 18 Oct 2012 15:37:13 -0700 Brian Harring ferri...@gmail.com wrote: Offhand... and this makes it a bit more complex, but still tenuable imo, but we could get around this via shoving the symlink pathway into the shebang itself. scenario 1: Script gets installed for 2.7, 3.1, 3.2;

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Brian Harring
On Thu, Oct 18, 2012 at 12:00:43PM +0200, Dirkjan Ochtman wrote: On Thu, Oct 18, 2012 at 11:15 AM, Brian Harring ferri...@gmail.com wrote: Either way, thoughts? It looks like you haven't looked at the python-r1 effort. That means you probably also aren't subscribed to the gentoo-python

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Mike Gilbert
On Thu, Oct 18, 2012 at 5:15 AM, Brian Harring ferri...@gmail.com wrote: If folks haven't looked at python_generate_wrapper_scripts in python.eclass, I'd suggest doing so. For examples of it's usage, grep for 'python_generate_wrapper_scripts' in /usr/bin/; any place you see it, look for

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Brian Harring
On Thu, Oct 18, 2012 at 11:28:59AM -0400, Mike Gilbert wrote: On Thu, Oct 18, 2012 at 5:15 AM, Brian Harring ferri...@gmail.com wrote: If we are somehow going to eliminate the installation of a separate script for each python version, then the symlink idea sounds like a good solution for

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Mike Gilbert
On Thu, Oct 18, 2012 at 3:29 PM, Brian Harring ferri...@gmail.com wrote: On Thu, Oct 18, 2012 at 11:28:59AM -0400, Mike Gilbert wrote: Regarding your /usr/bin/python3.2 /usr/bin/sphinx-build example: invoking python on a binary (or a symlink to a binary) isn't going to work at all. So I don't

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Mike Gilbert
On Thu, Oct 18, 2012 at 4:50 PM, Mike Gilbert flop...@gentoo.org wrote: On Thu, Oct 18, 2012 at 3:29 PM, Brian Harring ferri...@gmail.com wrote: On Thu, Oct 18, 2012 at 11:28:59AM -0400, Mike Gilbert wrote: Regarding your /usr/bin/python3.2 /usr/bin/sphinx-build example: invoking python on a

[gentoo-dev] Re: reworking python-wrapper and wrapper scripts.

2012-10-18 Thread Brian Harring
On Thu, Oct 18, 2012 at 04:50:04PM -0400, Mike Gilbert wrote: On Thu, Oct 18, 2012 at 3:29 PM, Brian Harring ferri...@gmail.com wrote: On Thu, Oct 18, 2012 at 11:28:59AM -0400, Mike Gilbert wrote: Regarding your /usr/bin/python3.2 /usr/bin/sphinx-build example: invoking python on a binary