On Sat, Dec 12, 2020 at 04:25:48PM -0500, Mike Gilbert wrote: > On Sat, Dec 12, 2020 at 3:48 PM William Hubbs <[email protected]> wrote: > > If both /usr/bin/python and /usr/bin/python3 are going away, the best > > choice would be to add functionality to python-exec or eselect python to > > tell us > > the path to the default python interpretor. Once we know that we call it > > directly. > > I don't think they are "going away". There is a USE flag on > dev-lang/python-exec that makes them optional, and I think it will be > forcibly enabled for the foreseeable future. > > > Please do not apply this patch to meson; I think we can figure something > > out that is better. > > I think installing a small script to help translate arguments from one > format to another is a reasonable solution. I think we should look at the eclass to see if we can provide functions that can be used by consumers to handle this.
Also, I don't think your script will run if native-symlinks is disabled since in that setting /usr/bin/python would not exist. I question the value of the native-symlinks use flag on python-exec unless there is a way to query the path of the default python interpretor. William
signature.asc
Description: PGP signature
