Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2018 14:48:50 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Ben Woods <woodsb02@gmail.com>, Mathieu Arnold <mat@freebsd.org>
Cc:        =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= <pawel@freebsd.org>, "ports-committers@FreeBSD.org" <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r458161 - head/textproc/meld
Message-ID:  <d08f1451-9fad-23db-1fe5-30515614bb5b@FreeBSD.org>
In-Reply-To: <CAOc73CC%2BX3e3ikjqq%2BZceKvpLtb6MnRAK8M6-twtTy2CEkeMvQ@mail.gmail.com>
References:  <201801051817.w05IHfJY013765@repo.freebsd.org> <CAOc73CC3ukRqG9uccirfGQzvScYSDGuyaR11cRrTVuM_WGPVzA@mail.gmail.com> <20180108000931.44eb67e1@FreeBSD.org> <CAOc73CDbEac8JMDhJF1VnuzmGW8hBqJ9_vqybegqjffXhK_a3Q@mail.gmail.com> <07138fee-8470-9d43-7a6a-6b77e0a0b163@FreeBSD.org> <CAOc73CC%2BX3e3ikjqq%2BZceKvpLtb6MnRAK8M6-twtTy2CEkeMvQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 09/01/2018 =C3=A0 14:07, Ben Woods a =C3=A9crit=C2=A0:
> On 8 January 2018 at 23:02, Mathieu Arnold <mat@freebsd.org
> <mailto:mat@freebsd.org>> 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.

--=20
Mathieu Arnold





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d08f1451-9fad-23db-1fe5-30515614bb5b>