Gentoo Archives: gentoo-user

From: Ralph Seichter <m16+gentoo@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python 3.6
Date: Wed, 27 Jun 2018 22:37:33
Message-Id: 81f0d6c7-5927-e240-e2f3-679b87f7b18e@monksofcool.net
In Reply to: Re: [gentoo-user] python 3.6 by John Covici
1 On 28.06.18 00:16, John Covici wrote:
2
3 > after doing a world update, there are still packages which apparently
4 > need both 3.4 and 3.5, so I cannot remove them.
5
6 That sounds like you might still have some packages where the use flags
7 python_targets_python3_4 and/or python_targets_python3_5 are active. Vim
8 comes to my mind as an example:
9
10 # equery u app-editors/vim
11 [ Legend : U - final flag setting for installation]
12 [ : I - package is installed with flag ]
13 [ Colors : set, unset ]
14 * Found these USE flags for app-editors/vim-8.0.1298:
15 U I
16 ( ... )
17 - - perl : Add optional support/bindings for the Perl language
18 - - python : Add optional support/bindings for the Python language
19 - - python_single_target_python2_7 : Build for Python 2.7 only
20 - - python_single_target_python3_4 : Build for Python 3.4 only
21 - - python_single_target_python3_5 : Build for Python 3.5 only
22 + + python_single_target_python3_6 : Build for Python 3.6 only
23 + + python_targets_python2_7 : Build with Python 2.7
24 - - python_targets_python3_4 : Build with Python 3.4
25 - - python_targets_python3_5 : Build with Python 3.5
26 + + python_targets_python3_6 : Build with Python 3.6
27 - - racket : Enable support for Scheme using dev-scheme/racket
28 ( ... )
29
30 As you can see, vim was built with support for Python 2.7 and 3.6, but
31 neither 3.4 nor 3.5. Which is the way I want it.
32
33 -Ralph