Re: Wrong python_CMD in shebangfix?

2014-05-14 Thread Dmitry Sivachenko
On 15 мая 2014 г., at 9:31, Marcus von Appen wrote: > On, Wed May 14, 2014, Dmitry Sivachenko wrote: > >> Hello! >> >> Imagine that I have python-2 as default version, so that >> /usr/local/bin/python points to python2.7 >> And I have a port which USE_PYTHON=3 and USES=shebangfix. >> >> It w

Re: Wrong python_CMD in shebangfix?

2014-05-14 Thread Marcus von Appen
On, Wed May 14, 2014, Dmitry Sivachenko wrote: > Hello! > > Imagine that I have python-2 as default version, so that > /usr/local/bin/python points to python2.7 > And I have a port which USE_PYTHON=3 and USES=shebangfix. > > It will "fix" python path as "/usr/local/bin/python" which is wrong (it

Wrong python_CMD in shebangfix?

2014-05-14 Thread Dmitry Sivachenko
Hello! Imagine that I have python-2 as default version, so that /usr/local/bin/python points to python2.7 And I have a port which USE_PYTHON=3 and USES=shebangfix. It will "fix" python path as "/usr/local/bin/python" which is wrong (it should point to python3). I propose the following patch: -