From owner-freebsd-python@FreeBSD.ORG Tue Jun 5 17:40:24 2012 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C5CE106564A; Tue, 5 Jun 2012 17:40:24 +0000 (UTC) (envelope-from jhein@symmetricom.com) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 589BF8FC1E; Tue, 5 Jun 2012 17:40:23 +0000 (UTC) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q55HAT5h061384; Tue, 5 Jun 2012 11:10:35 -0600 (MDT) (envelope-from jhein@symmetricom.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.5/8.14.5) with ESMTP id q55H9ldj012685; Tue, 5 Jun 2012 11:09:47 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.5/8.14.5/Submit) id q55H9k7D012684; Tue, 5 Jun 2012 11:09:46 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20430.15706.546137.332233@gromit.timing.com> Date: Tue, 5 Jun 2012 11:09:46 -0600 From: John Hein To: Ruslan Mahmatkhanov In-Reply-To: <4FCDF80F.3070304@yandex.ru> References: <20120605120755.GA71005@ithaqua.etoilebsd.net> <4FCDF80F.3070304@yandex.ru> X-Mailer: VM 8.2.0b-8.2.x-reddyuday.r1325 under 24.0.93.1 (i386-portbld-freebsd7.4) Cc: Baptiste Daroussin , python@FreeBSD.org Subject: Re: Python conflicting with other python when installed from packages X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 17:40:24 -0000 Ruslan Mahmatkhanov wrote at 16:14 +0400 on Jun 5, 2012: > Baptiste Daroussin wrote on 05.06.2012 16:07: > > Hi, > > > > With pkgng build on pointyhat I discovered that all the python packages when > > built on pointyhat, tinderbox or even poudriere all conflicts which each other > > meaning you can't install multiple python version in parallel without > > overwritting files with old package system and pkgng just forbid you to install > > the second package to avoid overwritting the file. > > > > The thing is that they are conflicting only for the bin/2to3 file. It would be > > nice if this file could be for example prefixed with the release of python like: > > > > bin/py27-2to3 or something like that. I'm aware that when just installing from > > ports only the first version of python installed got it, but if you are thinking > > in package only world it can't works that way. > > > > regards, > > Bapt > > Packages that using 2to3 to convert their code on install to be python3 > compatible looking exactly for `2to3' executable. So such a modification > would require modifying all the setup.py's according the python version > user has installed as default. It's just a though. I didn't see how to > resolve this correctly. One way: pull out 2to3 to its own separate port and have those ports that need it specify the dependency. And, no, I don't have patches.