From owner-freebsd-python@FreeBSD.ORG Mon Jul 29 08:00:40 2013 Return-Path: <owner-freebsd-python@FreeBSD.ORG> Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 87F2896B for <freebsd-python@freebsd.org>; Mon, 29 Jul 2013 08:00:40 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 24A6A23EE for <freebsd-python@freebsd.org>; Mon, 29 Jul 2013 08:00:39 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id f14so744851wiw.3 for <freebsd-python@freebsd.org>; Mon, 29 Jul 2013 01:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OlNL4BpDLUPjKNXxLEvYwujfN9gCgv0Fhlb+5upUfuc=; b=qJBcEx1Qe7UoNiHZomr6eU6NwHTxSN8kkZR2n/ZU/hR7V0TYEcbK8EmU/C+DxtWVSJ hgqJaWgDpVb4naS/WAWODbHeQeINa9nCMU+g31uxDqrGB2TY/wAKdBdm84QHaTgPHkSx lDIXSese0N0VhzbPH5keIuitR6x17ZdD8zJSipbNuV29q8UyOkv3q+2n5LpNQfp3B3rA nuZsr9RSPwyy9gek9DPoLRAEXpXwP/aAkOT9sTqbgR50vgBIZatoUyylWzF6MZfFYdDB CgXixwN17xfkvOclbtd+XDgShwQcLjrh6ds/p3A7UvTqnAirnPYIJ4H4gpBG/7Wq3pJN YbRw== MIME-Version: 1.0 X-Received: by 10.194.121.132 with SMTP id lk4mr42465844wjb.25.1375084838447; Mon, 29 Jul 2013 01:00:38 -0700 (PDT) Received: by 10.194.239.164 with HTTP; Mon, 29 Jul 2013 01:00:38 -0700 (PDT) Date: Mon, 29 Jul 2013 10:00:38 +0200 Message-ID: <CAO+PfDdfdhfnyTi0sJzvbJA0GLnOB=3dNme0gn6uhnenzUcjaQ@mail.gmail.com> Subject: Dealing with 2.7 and 3.3 installations From: David Demelier <demelier.david@gmail.com> To: freebsd-python@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 29 Jul 2013 08:00:40 -0000 Hello, At the moment, it's very hard to install python 2.7 and 3.3 because of the unification of the python ports. Also, pkgng will not let the user install both the 2.7 and 3.3 version of the interpreter because it will conflicts on several files such as /usr/local/bin/python for example. What I would like to propose, is to remove the non-versioned binaries such as : /usr/local/bin/2to3 /usr/local/bin/python /usr/local/bin/python-config This should completely be removed from every version's pkg-plist. Then we can create temporarly symlink in the pkg-install script if they are not present. This will allow the installation of python 3.3 and python 2.7 at the same time. I'm currently working on a implementation of interpretor selection. So in the future we will be able to select the interpreter for python, ruby and other interpreted languages. This is highly based on eselect from gentoo. Cheers, -- Demelier David