Date: Mon, 25 Jan 2021 19:58:03 +0000 From: Rene Ladan <rene@freebsd.org> To: Mathieu Arnold <mat@freebsd.org> Cc: Yuri <yuri@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r562338 - in head: . graphics graphics/py-mayavi Message-ID: <20210125195803.GA71881@freefall.freebsd.org> In-Reply-To: <20210125102046.epi3yuwf5akryw3c@aching.in.mat.cc> References: <202101222043.10MKh3gh024655@repo.freebsd.org> <20210123105803.GA23014@freefall.freebsd.org> <f2a5adfc-3a87-f7b5-8c6b-2bfc5e7ee65d@rawbw.com> <20210123200951.ncngmgojojrm2n5d@aching.in.mat.cc> <20210124000309.GA37534@freefall.freebsd.org> <20210125102046.epi3yuwf5akryw3c@aching.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210125195803.GA71881>