svn commit: r458161 - head/textproc/meld

Ben Woods woodsb02 at gmail.com
Tue Jan 9 15:08:56 UTC 2018


On 9 January 2018 at 21:48, Mathieu Arnold <mat at freebsd.org> wrote:

> Le 09/01/2018 à 14:07, Ben Woods a écrit :
> > On 8 January 2018 at 23:02, Mathieu Arnold <mat at freebsd.org
> > <mailto:mat at 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 it.
>
> 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 at gmail.com


More information about the svn-ports-all mailing list