svn commit: r562338 - in head: . graphics graphics/py-mayavi
Rene Ladan
rene at freebsd.org
Mon Jan 25 19:58:04 UTC 2021
On Mon, Jan 25, 2021 at 11:20:46AM +0100, Mathieu Arnold wrote:
> On Sun, Jan 24, 2021 at 12:03:09AM +0000, Rene Ladan wrote:
> > On Sat, Jan 23, 2021 at 09:09:51PM +0100, Mathieu Arnold wrote:
> > > On Sat, Jan 23, 2021 at 03:14:27AM -0800, Yuri wrote:
> > > > On 1/23/21 2:58 AM, Rene Ladan wrote:
> > > > > This should be python:3.6+ to prevent the port from using Python 2.7.
> > > >
> > > >
> > > > USE_PYTHON=noflavors should prevent this, no?
> > >
> > > Nom USES=python:noflavors removes flavors from the port, thus breaking
> > > it for any other module that tries to depend on it, it does not removes
> > > the fact that it can be built for Python 2.7, which is what is asked
> > > here.
> > >
> > It does "prevent" it if using the default version of Python, because
> > that happens to be 3.7 at the moment.
> >
> > But this workaround is tricky at best.
>
> It is not a workaround, it removes flavors from the port, so this port
> would be unflavored, so any port depending on this port would need to
> magically guess that, for absolutely no reason, this port is behaving
> differently than all of the other Python modules ports.
>
Yes (making the port unflavored).. I meant "workaround" here as a way
to prevent using Python 2.7. But of course it breaks if people set
DEFAULT_VERSIONS to python2.7 for some reason.
Rene
More information about the svn-ports-head
mailing list