Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ebuild : how to check for python version
Date: Sun, 02 Aug 2020 20:13:32
Message-Id: 5a5c1606-e497-d4d2-04cd-7f361c1d4d49@verizon.net
In Reply to: Re: [gentoo-user] ebuild : how to check for python version by Helmut Jarausch
1 On 8/2/20 1:34 PM, Helmut Jarausch wrote:
2 > On 08/02/2020 06:15:12 PM, Ramon Fischer wrote:
3 >> Hi Helmut,
4 >>
5 >> maybe "python_is_python3"[1] will help? I am still new to creating
6 >> ebuilds. :)
7 >>
8 >> -Ramon
9 >>
10 > Thanks Ramon for this hint.
11 > I need to know which version of Python3 ( Python3.8 or Python3.9)
12 > and I could see how python_is_python3 helps here.
13 >
14 > Helmut
15 >
16
17 editing
18
19 /usr/portage/profiles/base/use.stable.mask
20
21 might give you the granularity of control you see, BUT
22 I have not tested it yet, related to python3_9, so I'd recommend deep
23 research and change packages one at a time, regardless of how you choose
24 to use version 3_9.
25
26
27 https://docs.python.org/3.9/whatsnew/3.9.html
28
29 just because it is (?) release, does not mean it is stable and ready for
30 gentoo beta testing (my speculation).
31
32
33 hth,
34
35 James