1 |
On Fri, 28 Mar 2014 09:27:00 +0100 |
2 |
Helmut Jarausch <jarausch@××××××××××××××××.de> wrote: |
3 |
|
4 |
> PYTHON_COMPAT="python2_7 python3_3 python3_4" |
5 |
|
6 |
This is a variable meant for packages; and thus, setting it in |
7 |
make.conf has no effect afaik. |
8 |
|
9 |
> PYTHON_TARGETS="python2_7 python3_3 python3_4" |
10 |
|
11 |
You'll want to set this to what you want. |
12 |
|
13 |
> # PYTHON_SINGLE_TARGET="python2_7" |
14 |
> PYTHON_SINGLE_TARGET="python3_3" |
15 |
> |
16 |
> in my /etc/portage/make.conf and portage itself is Python3-based. |
17 |
> I have to toggle the two PYTHON_SINGLE_TARGET lines depending |
18 |
> on some packages, e.g., dev-util/eric requires |
19 |
> PYTHON_SINGLE_TARGET="python3_3" |
20 |
> which causes other packages not to install. |
21 |
|
22 |
Set these in /etc/portage/package.use like so: |
23 |
|
24 |
dev-util/eric python_single_target_python3_3 |
25 |
|
26 |
(Yes, PYTHON_SINGLE_TARGET expands to USE flags.) |
27 |
|
28 |
> I have tried to remove python2_7 from PYTHON_TARGETS but then |
29 |
> I cannot re-install portage although it is based on Python3. |
30 |
|
31 |
Why is this? Can you share us the log or output of that? |
32 |
|
33 |
-- |
34 |
With kind regards, |
35 |
|
36 |
Tom Wijsman (TomWij) |
37 |
Gentoo Developer |
38 |
|
39 |
E-mail address : TomWij@g.o |
40 |
GPG Public Key : 6D34E57D |
41 |
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D |