On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch <jarau...@skynet.be> wrote:
> Hi, > in an ebuild I have to apply a patch only if this package is installed > for python3.9. > The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) > > How can I check for Pythons version in src_prepare or similar functions. > > Many thanks for a hint, > Helmut > > I would suggest creating a patch that can be applied unconditionally instead.