From owner-freebsd-python@FreeBSD.ORG Mon Dec 1 09:10:39 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7BF4971 for ; Mon, 1 Dec 2014 09:10:39 +0000 (UTC) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 757ECA62 for ; Mon, 1 Dec 2014 09:10:39 +0000 (UTC) Received: from [80.67.16.136] (helo=webmailfront01.ispgateway.de) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1XvMrk-0001KD-Dq; Mon, 01 Dec 2014 10:01:56 +0100 Received: from tmo-110-135.customers.d1-online.com (tmo-110-135.customers.d1-online.com [80.187.110.135]) by webmail.df.eu (Horde Framework) with HTTP; Mon, 01 Dec 2014 10:01:56 +0100 Date: Mon, 01 Dec 2014 10:01:56 +0100 Message-ID: <20141201100156.Horde.FhtmPbuL51LvEw9E5pwFpg2@webmail.df.eu> From: Marcus von Appen To: Andrew Berg Subject: Re: PYTHON_VERSION=python3.4 and USES=python:2,build References: <547A9656.9030602@saltant.com> <547A9FA8.9070909@my.hennepintech.edu> <547B2879.7070000@saltant.com> <547BAF2B.3000300@my.hennepintech.edu> In-Reply-To: <547BAF2B.3000300@my.hennepintech.edu> Reply-to: mva@freebsd.org User-Agent: Internet Messaging Program (IMP) H5 (6.0.4) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc= Cc: "John W. O'Brien" , FreeBSD Python List X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 09:10:39 -0000 Zitat von Andrew Berg : > On 2014.11.30 08:23, John W. O'Brien wrote: >> On 11/29/14 11:40 PM, Andrew Berg wrote: >>> On 2014.11.29 22:00, John W. O'Brien wrote: >>>> Let's say that I want to build net/py-pyzmq with >>>> PYTHON_VERSION=python3.4. >>> Why this instead of using DEFAULT_VERSIONS? >> >> I was following this advice: >> >> https://lists.freebsd.org/pipermail/freebsd-python/2014-October/007606.html > Then I am interested in why Marcus is suggesting PYTHON_VERSION rather than > DEFAULT_VERSIONS. I am currently doing a build run for a separate set to do > Python 2.7 as the default version for the few ports I need that > require it, but I am using DEFAULT_VERSIONS. I think, you are misinterpreting something or I am not getting what you both are up to. The advice from the mail in October handles the following situation: 1) Joe User uses Python X as default 2) Joe User wants to install a port PP for Python Q 3) To avoid conflicts, Joe User has to a) install PP with PYTHON_VERSION=Q - or - b) set up a poudriere with with Python X as default (DEFAULT_VERSIONS=...) and a make.conf entry setting PYTHON_VERSION=Q This is necessary to avoid build and installation conflicts for packages, which support different Python versions (X and Q) at the same time, packages, which can be installed concurrently, etc. Cheers Marcus