Re: How to add dependency to python binary

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Wed, 22 May 2024 11:43:40 UTC
On Wed, 22 May 2024 14:10:33 +0300
Gleb Popov <arrowd@freebsd.org> wrote:

> On Wed, May 22, 2024 at 2:07?PM Matthias Fechner <mfechner@freebsd.org> wrote:
> >
> > What is the recommended why to add python as a runtime dependency that the python binary is available?
> 
> We usually patch the software to use pythonXY everywhere. For shebangs
> it can be done via USES=shebangfix and for other cases resort to
> patches or REINPLACE_CMD incantations.
> 

 An easier way is to use BINARY_ALIAS= python3=${PYTHON_CMD}

 Cheers,

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>