Re: bin/python3 symlink for python3X ports

2012-12-13 Thread Chris Rees
On 13 Dec 2012 18:01, "Li-Wen Hsu" wrote: > > On Sat, Oct 13, 2012 at 21:25:03 +0800, Li-Wen Hsu wrote: > > On Wed, Oct 10, 2012 at 00:00:20 +0400,   wrote: > > > On 10/5/12 9:23 AM,   wrote: > > > > On 01.10.2012 21:39, Li-Wen Hsu wrote: > > > >> > > > >> Thanks fo

Re: bin/python3 symlink for python3X ports

2012-12-13 Thread Li-Wen Hsu
On Sat, Oct 13, 2012 at 21:25:03 +0800, Li-Wen Hsu wrote: > On Wed, Oct 10, 2012 at 00:00:20 +0400, Дмитрий Сиваченко wrote: > > On 10/5/12 9:23 AM, Дмитрий Сиваченко wrote: > > > On 01.10.2012 21:39, Li-Wen Hsu wrote: > > >> > > >> Thanks for working on this, I am looking forward to your patch. >

Re: bin/python3 symlink for python3X ports

2012-10-13 Thread Li-Wen Hsu
On Fri, Oct 05, 2012 at 17:51:12 -0400, Eitan Adler wrote: > > Random thought: can we make 'python', 'python2', and 'python3' a > simple C wrapper (you can't use a shell script because an interpreter > can't be interpreted) that selects the correct version instead of a > symlink? I'm not sure w

Re: bin/python3 symlink for python3X ports

2012-10-13 Thread Li-Wen Hsu
On Wed, Oct 10, 2012 at 00:00:20 +0400, Дмитрий Сиваченко wrote: > On 10/5/12 9:23 AM, Дмитрий Сиваченко wrote: > > On 01.10.2012 21:39, Li-Wen Hsu wrote: > >> > >> Thanks for working on this, I am looking forward to your patch. > >> > > > > Hello, > > > > Please consider the attached patch for pyt

Re: bin/python3 symlink for python3X ports

2012-10-09 Thread Дмитрий Сиваченко
On 10/5/12 9:23 AM, Дмитрий Сиваченко wrote: On 01.10.2012 21:39, Li-Wen Hsu wrote: Thanks for working on this, I am looking forward to your patch. Hello, Please consider the attached patch for python2/python3 symlinks. As I proposed earlier in this thread, I think it is sane to make these

Re: bin/python3 symlink for python3X ports

2012-10-05 Thread Eitan Adler
On 2 October 2012 08:04, Ruslan Mahmatkhanov wrote: > 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

Re: bin/python3 symlink for python3X ports

2012-10-04 Thread Дмитрий Сиваченко
On 01.10.2012 21:39, Li-Wen Hsu wrote: Thanks for working on this, I am looking forward to your patch. Hello, Please consider the attached patch for python2/python3 symlinks. As I proposed earlier in this thread, I think it is sane to make these symlinks for latest python2.X/python3.X versio

Re: bin/python3 symlink for python3X ports

2012-10-02 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-10-01 Thread Li-Wen Hsu
On Tue, Oct 02, 2012 at 00:18:07 +0400, Dmitry Sivachenko wrote: > On 10/1/12 10:44 PM, Chris Rees wrote: > > However, it is still possible to have the "first installed wins" logic > > using a pkg-install script instead of in the Makefile, this would > > solve the package problems. Are you intere

Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Dmitry Sivachenko
On 10/1/12 10:44 PM, Chris Rees wrote: However, it is still possible to have the "first installed wins" logic using a pkg-install script instead of in the Makefile, this would solve the package problems. Are you interested if I were to implement that? Chris I think that "first wins" logic i

Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Chris Rees
On 1 October 2012 18:39, Li-Wen Hsu wrote: > On Thu, Sep 27, 2012 at 15:22:03 +0400, Dmitry Sivachenko wrote: >> On 26.09.2012 17:00, 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 >>

Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Li-Wen Hsu
On Thu, Sep 27, 2012 at 15:22:03 +0400, Dmitry Sivachenko wrote: > On 26.09.2012 17:00, 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/pyth

Re: bin/python3 symlink for python3X ports

2012-10-01 Thread Li-Wen Hsu
On Wed, Sep 26, 2012 at 17:17:20 +0400, Дмитрий Сиваченко wrote: > 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/pytho

Re: bin/python3 symlink for python3X ports

2012-09-27 Thread Dmitry Sivachenko
On 26.09.2012 17:00, 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 mor

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

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 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 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 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: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 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 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 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

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