how to enforce one version of python

Lorenzo Salvadore phascolarctos at protonmail.ch
Tue Sep 11 14:58:26 UTC 2018


> 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+= python=2.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?= py27

Lorenzo Salvadore.

PS: sorry for posting on the wrong mailing list before: my mail is a pain
when replying on mailing lists...


More information about the freebsd-ports mailing list