From owner-freebsd-python@FreeBSD.ORG  Thu Sep 25 16:14:55 2014
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 ESMTPS id 8540C5A0
 for <freebsd-python@FreeBSD.org>; Thu, 25 Sep 2014 16:14:55 +0000 (UTC)
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
 [80.67.29.24])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 428889C2
 for <freebsd-python@FreeBSD.org>; Thu, 25 Sep 2014 16:14:55 +0000 (UTC)
Received: from [89.182.205.32] (helo=localhost)
 by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256)
 (Exim 4.68) (envelope-from <mva@FreeBSD.org>)
 id 1XXBgr-00045g-IJ; Thu, 25 Sep 2014 18:14:45 +0200
Date: Thu, 25 Sep 2014 18:14:46 +0200
From: Marcus von Appen <mva@FreeBSD.org>
To: Axel Rau <Axel.Rau@Chaos1.DE>, freebsd-python@FreeBSD.org
Subject: Re: Building for python3 instead of python2
Message-ID: <20140925161446.GB1020@medusa.sysfault.org>
Reply-To: Marcus von Appen <mva@FreeBSD.org>
Mail-Followup-To: Axel Rau <Axel.Rau@Chaos1.DE>, freebsd-python@FreeBSD.org
References: <A949998A-065C-4F6F-A376-50E20CE14E50@Chaos1.DE>
 <20140925161340.GA1020@medusa.sysfault.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp"
Content-Disposition: inline
In-Reply-To: <20140925161340.GA1020@medusa.sysfault.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Df-Sender: MTEyNTc0Mg==
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.18-1
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: Thu, 25 Sep 2014 16:14:55 -0000


--cvVnyQ+4j833TQvp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On, Thu Sep 25, 2014, Marcus von Appen wrote:

> On, Thu Sep 25, 2014, Axel Rau wrote:
>
> > Hi all,
> >
> > I have a port with
> > 	USES=	 python
> > but it insists installing python2.7 instead of installed python3.4
> >
> > I played with
> > 	DEFAULT_VERSIONS= python3:3.4
> > without luck.
>
> You are telling the system that the python_3_ interpreter shall use 3.4, but
> not that the general python interpreter shall use it, thus it sticks to 2.7.
>
>   DEFAULT_VERSIONS= python:3.4 python3:3.4

That is meant to be

  DEFAULT_VERSIONS= python=3.4 python3=3.4

Cheers
Marcus
--cvVnyQ+4j833TQvp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlQkP3YACgkQi68/ErJnpkdqawCguunK4IJNYbOPqzn7yvM+1fiZ
7skAniGOhWuy8nOj477KztJJZbI9UjAU
=wVTs
-----END PGP SIGNATURE-----

--cvVnyQ+4j833TQvp--