1 |
I don't know much about PYTHON_SINGLE_TARGET and PYTHON_TARGET, it all |
2 |
seemed to just work so I never looked further. Until now. Of all |
3 |
packages, libreoffice seems to want only python3: |
4 |
|
5 |
I can set it in make.conf but as expected that causes all manner of |
6 |
other packages to fail emerge checks as they need python2.7. |
7 |
|
8 |
What's the preferred way to deal with this situation? |
9 |
Some relevant info: |
10 |
|
11 |
!!! The ebuild selected to satisfy "app-office/libreoffice" has unmet |
12 |
requirements. |
13 |
- app-office/libreoffice-5.1.0.3::gentoo USE="bluetooth branding cups |
14 |
dbus gstreamer java kde mysql vlc (-aqua) -coinmp -collada -debug -eds |
15 |
(-firebird) -gltf -gnome -gtk -gtk3 -jemalloc -libressl -odk -postgres |
16 |
(-telepathy) -test" ABI_X86="64" LIBREOFFICE_EXTENSIONS="-nlpsolver |
17 |
-scripting-beanshell -scripting-javascript -wiki-publisher" |
18 |
PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4 |
19 |
python3_5" |
20 |
|
21 |
The following REQUIRED_USE flag constraints are unsatisfied: |
22 |
exactly-one-of ( python_single_target_python3_4 |
23 |
python_single_target_python3_5 ) |
24 |
|
25 |
|
26 |
khamul ~ # eix -e python |
27 |
[I] dev-lang/python |
28 |
Available versions: |
29 |
(2.7) 2.7.10-r1 (~)2.7.11-r2 |
30 |
(3.3) 3.3.5-r2 (~)3.3.5-r7(3.3/3.3m) |
31 |
(3.4) 3.4.3-r1 (~)3.4.3-r7(3.4/3.4m) |
32 |
(3.5) (~)3.5.0-r2 (~)3.5.1-r2(3.5/3.5m) |
33 |
{-berkdb build doc examples gdbm hardened ipv6 libressl +ncurses |
34 |
+readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"} |
35 |
Installed versions: 2.7.11-r2(2.7)(23:48:21 11/01/2016)(gdbm ipv6 |
36 |
ncurses readline sqlite ssl threads wide-unicode xml -berkdb -build -doc |
37 |
-examples -hardened -libressl -tk -wininst ELIBC="-uclibc") |
38 |
3.4.3-r7(3.4)(12:59:30 01/01/2016)(gdbm ipv6 ncurses readline sqlite ssl |
39 |
threads xml -build -examples -hardened -libressl -tk -wininst |
40 |
ELIBC="-uclibc") 3.5.1-r2(3.5)(19:42:48 27/02/2016)(gdbm ipv6 ncurses |
41 |
readline sqlite ssl threads xml -build -examples -hardened -libressl -tk |
42 |
-wininst ELIBC="-uclibc") |
43 |
Homepage: http://www.python.org/ |
44 |
Description: An interpreted, interactive, object-oriented |
45 |
programming language |
46 |
|
47 |
|
48 |
khamul ~ # eselect python list |
49 |
Available Python interpreters: |
50 |
[1] python2.7 |
51 |
[2] python3.4 |
52 |
[3] python3.5 * |
53 |
|
54 |
|
55 |
khamul ~ # emerge --info | grep PYTHON |
56 |
PYTHON_SINGLE_TARGET="python2_7" |
57 |
PYTHON_TARGETS="python2_7 python3_4" |
58 |
Unset: USE_PYTHON |
59 |
|
60 |
|
61 |
-- |
62 |
Alan McKinnon |
63 |
alan.mckinnon@×××××.com |