Date: Wed, 29 Sep 2010 23:57:20 +0300 From: Dmitry Pryanishnikov <lynx.ripe@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: Using portmaster with different PYTHON_VERSION Message-ID: <AANLkTim9ZZNLYHAfe6oEvpCUO-5Aet==psNyVOWz0Rnb@mail.gmail.com> In-Reply-To: <4CA256B6.5090908@FreeBSD.org> References: <AANLkTi=EeLhd6H5v_oJz3FWuHKrY7P=Acv0jV=doq8jd@mail.gmail.com> <4CA256B6.5090908@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello! 2010/9/28 Doug Barton <dougb@freebsd.org>: >> Those packages (py26-httplib2 vs py31-httplib2) do not >> conflict (they may be used simultaneously, don't overwrite each >> other's files etc.). But they have single origin, which seems to >> confuse the portmaster: >> >> PYTHON_VERSION=3Dpython2.6 portmaster www/py-httplib2 >> =3D=3D=3D>>> =A0Installation of www/py-httplib2 (py26-httplib2-0.6.0) co= mplete >> PYTHON_VERSION=3Dpython3.1 portmaster www/py-httplib2 >> =3D=3D=3D>>> =A0Upgrade of py26-httplib2-0.6.0 to py31-httplib2-0.6.0 co= mplete > > I would also argue that there is a fundamental assumption in the ports > infrastructure that what you're doing here (installing both versions on t= he > same system) is not supported. The ability to make the version of things > like python or perl variable is a great feature of the ports infrastructu= re, > but my understanding has always been that this would be a system-wide > option, and that installing different versions of the same language on th= e > same system is not supported. What problems (besides no support in portmaster) can arise due to parallel use of Python 2 and Python 3 in the same FreeBSD system? I see none: the resulting packages (python{26,31}-* and py{26,31}-*) install files in different locations (they use e.g. /usr/local/lib/python2.6 vs /usr/local/lib/python3.1). Moreover; during the current stage of the Python's development there are legitimate reasons for using Python 2 for some projects and Python 3 for the rest ( http://wiki.python.org/moin/Python2orPython3 ). And I don't expect that this situation will change soon (changes in Python 3 are rather essential, so many packages will stay Python2-only for some time)... Well, as for me - it's not difficult to manage python2/3 packages using just plain ports infrastructure. Thanks for explanation! --=20 Sincerely, Dmitry nic-hdl: LYNX-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim9ZZNLYHAfe6oEvpCUO-5Aet==psNyVOWz0Rnb>