Re: Re: USES=python3.10+ and RUN_DEPENDS

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Mon, 22 Jan 2024 06:34:49 UTC
On Sun, Jan 21, 2024 at 09:53:47PM -0500, Charlie Li wrote:
> Lexi Winter wrote:
> > Moin Rahman:
> > > By default this will not be built in that case. If you want to build
> > > for python 3.10 you have to add USE_PYTHON=allflavors
> > 
> > thanks (again).  so for a normal port, is there any guidance on whether
> > i should do this or not?  is there a policy on this?
> > 
> > this is a normal (desktop) application, not a library, so normally there
> > would be no reason to build it for all Python versions.
> > 
> > i don't see anything about this in https://wiki.freebsd.org/Python/PortsPolicy
> In order to specify USE_PYTHON=allflavors, all ports in the dependency chain
> have to specify it. This isn't really a policy issue, rather a technical
> one.

Mmmm, it is a policy issue, allflavors must only be used for ports for
which it is imperative to have all the possible flavors available, like
py-setuptools or cython.

If you want to enable the build all flavors possible locally, (as if
allflavors was defined in all ports) you can define
BUILD_ALL_PYTHON_FLAVORS=yes in your make.conf

-- 
Mathieu Arnold