bin/python3 symlink for python3X ports

2012-09-26 Thread Dmitry Sivachenko
Hello! It is common to have both python-2 and python-3 packages installed. To help transition it is convenient to have bin/python to point to python-2 binary. Now for every X in python3X we have a bin/python3.X binary. So for every new python3.X release one should change shebang line in script

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Chris Rees
On 26 Sep 2012 08:13, "Dmitry Sivachenko" wrote: > > Hello! > > It is common to have both python-2 and python-3 packages installed. > To help transition it is convenient to have bin/python to point to python-2 binary. > > Now for every X in python3X we have a bin/python3.X binary. > > So for every

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Ruslan Mahmatkhanov
Chris Rees wrote on 26.09.2012 13:03: On 26 Sep 2012 08:13, "Dmitry Sivachenko" wrote: Hello! It is common to have both python-2 and python-3 packages installed. To help transition it is convenient to have bin/python to point to python-2 binary. Now for every X in python3X we have a bin/py

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Dmitry Sivachenko
On 26.09.2012 13:07, Ruslan Mahmatkhanov wrote: Chris Rees wrote on 26.09.2012 13:03: On 26 Sep 2012 08:13, "Dmitry Sivachenko" wrote: Hello! It is common to have both python-2 and python-3 packages installed. To help transition it is convenient to have bin/python to point to python-2 binar

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Dmitry Sivachenko
On 26.09.2012 13:03, Chris Rees wrote: Also, what do other OSes do? I found one linux box near me: {zamarashka}/usr/bin# ls -la python* lrwxrwxrwx 1 root root 9 Apr 17 21:20 python -> python2.7 lrwxrwxrwx 1 root root 9 Apr 17 21:20 python2 -> python2.7 -rwxr-xr-x 1 root root 2989

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Ruslan Mahmatkhanov
Dmitry Sivachenko wrote on 26.09.2012 13:14: On 26.09.2012 13:07, Ruslan Mahmatkhanov wrote: Chris Rees wrote on 26.09.2012 13:03: On 26 Sep 2012 08:13, "Dmitry Sivachenko" wrote: Hello! It is common to have both python-2 and python-3 packages installed. To help transition it is convenient

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Dmitry Sivachenko
On 26.09.2012 13:20, Ruslan Mahmatkhanov wrote: Dmitry Sivachenko wrote on 26.09.2012 13:14: I don't have a patch but I can make one if you like. Please do. Please consider the attached patch. Index: pkg-plist === --- pkg-pl

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Li-Wen Hsu
On Wed, Sep 26, 2012 at 7:18 PM, Dmitry Sivachenko wrote: > On 26.09.2012 13:20, Ruslan Mahmatkhanov wrote: >> >> Dmitry Sivachenko wrote on 26.09.2012 13:14: >>> >>> I don't have a patch but I can make one if you like. >> >> >> Please do. >> > > Please consider the attached patch. > I think this

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Дмитрий Сиваченко
On 9/26/12 5:00 PM, Li-Wen Hsu wrote: I think this patch is good. And I am thinking about also modifying other lang/python{2,3}X ports, thus we may need to beware of confliction on bin/python{2,3} between lang/python2X or lang/python3X ports. It is not so common but still possible to have more

Re: bin/python3 symlink for python3X ports

2012-09-26 Thread Ruslan Mahmatkhanov
Dmitry Sivachenko wrote on 26.09.2012 15:18: On 26.09.2012 13:20, Ruslan Mahmatkhanov wrote: Dmitry Sivachenko wrote on 26.09.2012 13:14: I don't have a patch but I can make one if you like. Please do. Please consider the attached patch. The patch seems good to me. The only thing: I'd ra