From owner-freebsd-questions@freebsd.org Tue Sep 11 14:56:10 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 230E8109360A for ; Tue, 11 Sep 2018 14:56:10 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD7FD7A2D2 for ; Tue, 11 Sep 2018 14:56:09 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Tue, 11 Sep 2018 14:55:54 +0000 To: FreeBSD Questions From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: how to enforce one version of python Message-ID: In-Reply-To: References: Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.protonmail.ch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 14:56:10 -0000 > Hi, > There are a number of ports that seem to have their own preferential > flavour of python, and some for example want to install python27 and > python36 in the same place, and it's a pain when using portupgrade or > similar tools. > I have this in my /etc/make.conf: > DEFAULT_VERSIONS+=3D python=3D2.7 > Is this incorrect? I assume it must be, as for example devel/pylint > (pylint-py27-1.9.2) wants to upgrade to pylint-py36-2.1.1 > thanks, > > J. I think the correct line would be the following: FLAVOR?=3D py27 Lorenzo Salvadore.