From owner-svn-ports-head@freebsd.org Tue Jan 9 15:08:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90789E5ACE3; Tue, 9 Jan 2018 15:08:56 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C50E8042E; Tue, 9 Jan 2018 15:08:56 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-ua0-x233.google.com with SMTP id x10so9372070ual.8; Tue, 09 Jan 2018 07:08:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IaGqaNOEAic5lEjlY99cCjPZGtrqkecDHSJrWFHIag4=; b=SSrP64sJDFYYPMtV+alHP5iBoOPJaf3UVdG/k0s1U28MLF1nBZyzUtmr7z4cMqW/Dq Tf0z4Ne5PEvgWadXKc8u6phXyn9LgaZqsrZKMqw/t82uT51VaCv/b2+YziefuuqhrUCo rKKqz2ugvu/AyX5Uh6cWQNvpcjVPWEpUNiekxn2VSFzOg0xvs9f9/+nM8nz6fvFd/z/+ VVl0QKq3L3v4tu2AG1F5Ed5Vafdu143jvyfR54hfb0r58aabS5J2gJpXoWOvVv0doIHG kebNAYtug5KG5rfZub8vSkkT9DwgHRvMPYjVlN7JTCv9B4vyTCzP3hzSKIIB400r93Pq 9z2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IaGqaNOEAic5lEjlY99cCjPZGtrqkecDHSJrWFHIag4=; b=OtkjlO4rTpDQScc/j3lvUmLB9v3siudkN4l9yq5bL4Q/AbleTbrKpY3GuIOn9FmhJO 6iMh7sg29QBBiyIm6NmRicleOxf2se/wHOK4sXNOEBtENFqnORg2v7mecf3blz/wyDeA CpLstUD9hPsF1u3Banzb9BKIfqbI9t4T1/tshecJ5eah01DOJC05mEaKrvUmuHiBdlAC q2aEY/Xgv+3hFsijzeBzjS9+qcNwWO/3cU6Ci+FmJyW3tcJ27I6NqM2aMpoEUGRzKdn7 jX36SE6r2Gmqoudjrgd//GAYRxxNE6shj0QkIoxbxHOHgUFzCnidSGEEbJeQAM7eFH7C Ii8w== X-Gm-Message-State: AKwxytcnpyG0ioS1Vd/BQrJxW7k7Cl3yOXhfiYfe2QdSvVQlTUBONB+W yVOz86wBOVodEBn9ykArdEraIazuNcjyt/JAJlpEE05o X-Google-Smtp-Source: ACJfBotVIGP68ffDKCVf8owOliupEXIUqjGCdfX4WhSXOa6rGFRR1Lhv2wWHNN8zUzDLtnEQ/mXYUZyHP4xio3ObBq4= X-Received: by 10.159.50.70 with SMTP id y6mr14847114uad.188.1515510535005; Tue, 09 Jan 2018 07:08:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.233.198 with HTTP; Tue, 9 Jan 2018 07:08:54 -0800 (PST) In-Reply-To: References: <201801051817.w05IHfJY013765@repo.freebsd.org> <20180108000931.44eb67e1@FreeBSD.org> <07138fee-8470-9d43-7a6a-6b77e0a0b163@FreeBSD.org> From: Ben Woods Date: Tue, 9 Jan 2018 23:08:54 +0800 Message-ID: Subject: Re: svn commit: r458161 - head/textproc/meld To: Mathieu Arnold Cc: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= , "ports-committers@FreeBSD.org" , svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 15:08:56 -0000 On 9 January 2018 at 21:48, Mathieu Arnold wrote: > Le 09/01/2018 =C3=A0 14:07, Ben Woods a =C3=A9crit : > > On 8 January 2018 at 23:02, Mathieu Arnold > > wrote: > > > > Also, flavors only build py27 and py36 flavors anyway. (Unless you > > have > > BUILD_ALL_PYTHON_FLAVORS defined, in which case it will build every > > version available.) > > > > > > > > Thanks for the clarification - I understand now. Even with flavors, > > the official FreeBSD pkg repo is only providing pre-built packages for > > 2 python flavors - the default python2 and the default python3. > > > > Given that meld only supports python 3, there is no point in the meld > > port using python flavors. > > It's not really the point you should get from this. > > Basically, the rule is this: > > A Python application (that is, something that some other thing runs > directly, but will never import with python) MAY have flavors but it is > OPTIONAL, because as long as the script runs, nobody really cares about > what Python version is used to make it run. > A Python library (so, something that other stuff will import, which may > contain scripts) MUST have flavors because something else can depend on i= t. > > For example, if a library works with Python 3.4+ then it MUST have > flavors, because someone (like me) may have defined > BUILD_ALL_PYTHON_FLAVORS because of some of their customers needs, and > will need to have that library for, say, Python 3.5. The fact that the > package builders only build the Python 3.6 version is irrelevant. > > -- > Mathieu Arnold > Yes, understood. My initial confusion came from the fact that I thought BUILD_ALL_PYTHON_FLAVORS was the default behaviour, and therefore users could choose which version of python3 to install from the default FreeBSD package repo. If that was the case, but installing meld brought in python36 as a dependency, then that would be sub-optimal. But my assumption was wrong - BUILD_ALL_PYTHON_FLAVORS is not the default behaviour, and the only python3 package therefore provided by the default FreeBSD package repo is python36. End users cannot opt to use a different version of python3 without rebuilding their own packages. I realise this is a different point to yours, but it was the original reason for my question. Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com