Gentoo Archives: gentoo-user

From: allan gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] newuse vs changed-use (and python3_6)
Date: Wed, 18 Jul 2018 22:09:22
Message-Id: 87d0vkgps2.fsf@nyu.edu
In Reply to: Re: [gentoo-user] newuse vs changed-use (and python3_6) by "Roger J. H. Welsh"
1 On Thu, Jul 19 2018, Roger J. H. Welsh wrote:
2
3 >> emerge --pretend --newuse ... @world
4 >> shows 15 rebuilds while --changed-use shows none.
5 > --changed-use prevents your system from remerging packages
6 > due to USE flag changes upstream (not made by you).
7 >
8 >> eselect python show
9 >> indicates python3.4, which I realize has end of life next year.
10 >>
11 >> Any advice would be appreciated.
12 > Note that, portage will want to use the new python targets immediately.
13 >
14 > Set for portage, for your next upgrade:
15 > PYTHON_TARGETS="python2_7 python3_4 python3_6"
16 > PYTHON_SINGLE_TARGET="python3_4"
17 >
18 > Set for portage, for your next upgrade after that:
19 > PYTHON_TARGETS="python2_7 python3_6"
20 > PYTHON_SINGLE_TARGET="python3_6"
21 >
22 > Migrate via,
23 > `emerge --ask --depclean && emerge -1vUD @world && emerge --ask --depclean`
24 >
25 > And you should be good to go.
26 >
27 > NOTES:
28 > `man emerge`
29 > `/changed-use`
30 >
31 > "Unlike --newuse, the --changed-use option does not trigger
32 > reinstallation when flags that the user has not enabled are added or
33 > removed."
34 > `emerge --newuse @world` should fix you up here.
35 >
36 > From the news item,
37 > `eselect news read`
38 > `2018-05-22-python3-6`
39 > On *2018-06-22*, Python 3.6 will replace Python 3.5 in the default Python
40 > targets for Gentoo systems. The new default targets will be:
41 > PYTHON_TARGETS="python2_7 python3_6"
42 > PYTHON_SINGLE_TARGET="python3_6"
43 >
44 > Hope this helps.
45 > --
46 >
47 > Roger Welsh
48 > fpr: 2FCB 9E31 EA77 CDEC A3AE 5DD7 D54C C777 553A 180D
49
50 Thank you.
51 allan