From owner-freebsd-ports@freebsd.org Tue Sep 11 14:58:26 2018 Return-Path: Delivered-To: freebsd-ports@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 C48BC109373E for ; Tue, 11 Sep 2018 14:58:26 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail-40132.protonmail.ch (mail-40132.protonmail.ch [185.70.40.132]) (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 5CF5F7A465 for ; Tue, 11 Sep 2018 14:58:26 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Tue, 11 Sep 2018 14:58:11 +0000 To: FreeBSD Ports From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: how to enforce one version of python Message-ID: <-hrP3N5wu3e3emMoi_vjIMQ4_o0kwVlk6aYHZwpJkdY5nVgejYNjVH0hHMPoysSYse03t1ObyKmTH8-CUjfn4axz608kvS2eo1TKamF-SWI=@protonmail.ch> 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-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 14:58:26 -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. PS: sorry for posting on the wrong mailing list before: my mail is a pain when replying on mailing lists...