Date: Mon, 01 Dec 2014 18:08:44 -0500 From: "John W. O'Brien" <john@saltant.com> To: mva@freebsd.org, Andrew Berg <aberg010@my.hennepintech.edu> Cc: FreeBSD Python List <freebsd-python@freebsd.org> Subject: Re: PYTHON_VERSION=python3.4 and USES=python:2,build Message-ID: <547CF4FC.70603@saltant.com> In-Reply-To: <20141201100156.Horde.FhtmPbuL51LvEw9E5pwFpg2@webmail.df.eu> References: <547A9656.9030602@saltant.com> <547A9FA8.9070909@my.hennepintech.edu> <547B2879.7070000@saltant.com> <547BAF2B.3000300@my.hennepintech.edu> <20141201100156.Horde.FhtmPbuL51LvEw9E5pwFpg2@webmail.df.eu>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 12/1/14 4:01 AM, Marcus von Appen wrote: > > Zitat von Andrew Berg <aberg010@my.hennepintech.edu>: > >> 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 sounds like my situation where X=2.7 and Q=3.4. Also, I'm using poudriere per 3b. > 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. Yes, this is what I'm after. Am I doing it wrong, or am I tripping over real problems/limitations of the ports machinery? [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUfPT8AAoJEORay8JGGICYUbwH/0ipQCVRUKOK0CPtty/ykWe1 QKQDXB120itt7HOqivMbCT26L1U0s2jEIyy7n/TSn1zOsqrJVtXLC6NAl0dgipRM LDWN1LWfCbolDoBFEKAkBr8Yr6EeL6bJFZx8Ly6Mrm38nEUhCnj+Vo79JcE+Txik wrG7/vqa3g3WlxV8w1HTbxW1VjTLrykSIaYoSqx4mz6cO7n0IOUsA6eHHb1PeH4V Bnpltqj4L1afYDV1Aho3oIxQr+NQSJcHGkHo9FEVyVDv1qJXx/XXP7L9N5ReEgZo 7NVYq/m/vBHDzYQhOsY/VcrY/W3htdAu3Xro5qIkLXdeqyV3IVkm9VjK5WaY7zg= =Jlva -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547CF4FC.70603>
