From: | Mike Gilbert <floppym@g.o> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] ebuild : how to check for python version | ||
Date: | Tue, 11 Aug 2020 13:08:35 | ||
Message-Id: | CAJ0EP43VrUxixqKAKA3qMOKBnGLiMj31KMetVqyoH_-v+oo1oA@mail.gmail.com | ||
In Reply to: | [gentoo-user] ebuild : how to check for python version by Helmut Jarausch |
1 | On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch <jarausch@××××××.be> wrote: |
2 | |
3 | > Hi, |
4 | > in an ebuild I have to apply a patch only if this package is installed |
5 | > for python3.9. |
6 | > The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) |
7 | > |
8 | > How can I check for Pythons version in src_prepare or similar functions. |
9 | > |
10 | > Many thanks for a hint, |
11 | > Helmut |
12 | > |
13 | > I would suggest creating a patch that can be applied unconditionally |
14 | instead. |
Subject | Author |
---|---|
Re: [gentoo-user] ebuild : how to check for python version | Helmut Jarausch <jarausch@××××××.be> |