Re: How to add dependency to python binary

From: Matthias Fechner <idefix_at_fechner.net>
Date: Wed, 22 May 2024 11:37:54 UTC
Am 22.05.2024 um 14:10 schrieb Gleb Popov:
> 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.

this is not possible, at least not directly.
The gitlab port is using yarn to download other packages and as some 
packages are not available a prebuild binary package for FreeBSD, yarn 
is building then on-the-fly.
So yarn or maybe the nodejs environment is expecting a binary named 
python to do this.

I will check if it is maybe possible to tell yarn to not use python but 
python39 instead.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook