From owner-freebsd-python@FreeBSD.ORG Tue Jun 5 12:14:44 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 2A31C1065675; Tue, 5 Jun 2012 12:14:44 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward15.mail.yandex.net (forward15.mail.yandex.net [IPv6:2a02:6b8:0:801::5]) by mx1.freebsd.org (Postfix) with ESMTP id 8E6B68FC19; Tue, 5 Jun 2012 12:14:43 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward15.mail.yandex.net (Yandex) with ESMTP id 301169E1C68; Tue, 5 Jun 2012 16:14:42 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1338898482; bh=AaF98MDOyn9WMJw1WfJz34JxbUvbjAsxnF1jYhs32I0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Q/xC9gpfzCIIKSpEg2eteOKAosXwDe65Xo77kn2JEj0SXk+8sAll1IS5CSeW2YvI3 Q8CK1ujWrvb+dv0uH6rz63shRmKqsUPxScA4DQrP/fhMXha+eO6zaFZ0haA9Hcp/hx 5w4oNK416A8mYjyzwQjoocFn1Rv2kEYT740tZnZQ= Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 0F4C616A0503; Tue, 5 Jun 2012 16:14:42 +0400 (MSK) Received: from unknown (unknown [213.27.65.65]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id EfUOxrfo-EfUOQ7BQ; Tue, 5 Jun 2012 16:14:41 +0400 X-Yandex-Rcpt-Suid: bapt@FreeBSD.org X-Yandex-Rcpt-Suid: python@FreeBSD.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1338898482; bh=AaF98MDOyn9WMJw1WfJz34JxbUvbjAsxnF1jYhs32I0=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=B6BYteu2RLC+ps705nbXaN4UoHNAHaHaMUgCsjPsIP2mhqOcrVLraD7j7O5/+jeFb JVEpBsCVWeXHTOh//NALPHDEyfMtOLE15szzMublRJyKK+gd/Z32auS7ACLhebFtuw fIkE2PrL9ltmnyIvpxknKWf5phmwRoE16Pffzzow= Message-ID: <4FCDF80F.3070304@yandex.ru> Date: Tue, 05 Jun 2012 16:14:07 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: Baptiste Daroussin References: <20120605120755.GA71005@ithaqua.etoilebsd.net> In-Reply-To: <20120605120755.GA71005@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 12:14:44 -0000 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. -- Regards, Ruslan Tinderboxing kills... the drives.