svn commit: r562338 - in head: . graphics graphics/py-mayavi

Mathieu Arnold mat at freebsd.org
Mon Jan 25 10:20:50 UTC 2021


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.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20210125/998d4055/attachment.sig>


More information about the svn-ports-all mailing list