From owner-freebsd-python@FreeBSD.ORG Sat Oct 5 20:09:39 2013 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 622E91E9 for ; Sat, 5 Oct 2013 20:09:39 +0000 (UTC) (envelope-from daamn.m@gmail.com) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 00A622381 for ; Sat, 5 Oct 2013 20:09:38 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id f12so5602228wgh.14 for ; Sat, 05 Oct 2013 13:09:37 -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=yB8fjfL2BMLgen/tAB68duwETV98AZOms5pUmilswSM=; b=O5dHXdr9FycItkKHgfGf74oHILzDqgEwC89SbcrhbU9y1fHqT8YXaaf1fboP60mM04 O6IejdCnMlHVaFBmCpHGv9PzOhBhxQnIGNu1sX8w4vlMPxWQBZBLz1sctCUd4LTLyfoA 9hgsrdFRaTy6fszBY6ael2fnl44dGAjt1Z6fQL7sbspQidw8lm4dSx2TnvsCAzy9KmDs xNuRiW5u4W9k1MU05DedmFpaJNyhsMS0HZJ1pAKxy9DNYIIn/gjwPgpIjPrzcxiEvnmR fhyKZpvMvAJ7hdmg+gHjtcquRym9QG4XXpB7Pu+TtoQNP7POuzFOfKAoaeQcvrPruOv1 6bqQ== MIME-Version: 1.0 X-Received: by 10.194.193.4 with SMTP id hk4mr17755251wjc.29.1381003777518; Sat, 05 Oct 2013 13:09:37 -0700 (PDT) Received: by 10.216.72.202 with HTTP; Sat, 5 Oct 2013 13:09:37 -0700 (PDT) Date: Sat, 5 Oct 2013 22:09:37 +0200 Message-ID: Subject: Installing ports for different versions of Python From: Daamn M To: freebsd-python@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Oct 2013 20:09:39 -0000 Hi, Sorry if I'm asking a question that have been asked many times but I couldn't find an answer using google. I need to install few version of Python (at least 2.6, 2.7 and 3.3). I really appreciate that FreeBSD let me have many versions the same time. But I have a problem when I need some third party library. It turns out that I can have only one instance. For example: I have installed python 2.7 and then port py-someport. Then I installed python 3.3 and set PYTHON_DEFAULT_VERSION to point python 3.3. If I try to install port py-someport again I wll get an error message saying that an older version is already installed. The way a port is registered in the database suggest that there could be more than one version. I mean: port py-someport is registered as py27-someport when installed for python 2.7. Now I copy ports adding versio prefix. For example to install py-someport for version 3.3 I copy the port as py33-someport. I works pretty well but I don't find it a clean way. Could you help? Thanks in advance Regards, Putrycy