Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] newuse vs changed-use (and python3_6) allan gottlieb <gottlieb@×××.edu>