1 |
On Sat, 27 Feb 2016 21:40:06 +0200 |
2 |
Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
3 |
|
4 |
> I don't know much about PYTHON_SINGLE_TARGET and PYTHON_TARGET, it all |
5 |
> seemed to just work so I never looked further. Until now. Of all |
6 |
> packages, libreoffice seems to want only python3: |
7 |
> |
8 |
> I can set it in make.conf but as expected that causes all manner of |
9 |
> other packages to fail emerge checks as they need python2.7. |
10 |
> |
11 |
> What's the preferred way to deal with this situation? |
12 |
> Some relevant info: |
13 |
> |
14 |
> !!! The ebuild selected to satisfy "app-office/libreoffice" has unmet |
15 |
> requirements. |
16 |
> - app-office/libreoffice-5.1.0.3::gentoo USE="bluetooth branding cups |
17 |
> dbus gstreamer java kde mysql vlc (-aqua) -coinmp -collada -debug -eds |
18 |
> (-firebird) -gltf -gnome -gtk -gtk3 -jemalloc -libressl -odk -postgres |
19 |
> (-telepathy) -test" ABI_X86="64" LIBREOFFICE_EXTENSIONS="-nlpsolver |
20 |
> -scripting-beanshell -scripting-javascript -wiki-publisher" |
21 |
> PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4 |
22 |
> python3_5" |
23 |
> |
24 |
> The following REQUIRED_USE flag constraints are unsatisfied: |
25 |
> exactly-one-of ( python_single_target_python3_4 |
26 |
> python_single_target_python3_5 ) |
27 |
|
28 |
> khamul ~ # eselect python list |
29 |
> Available Python interpreters: |
30 |
> [1] python2.7 |
31 |
> [2] python3.4 |
32 |
> [3] python3.5 * |
33 |
|
34 |
I think you can just put |
35 |
|
36 |
app-office/libreoffice python_single_target_python3_5 |
37 |
|
38 |
into package.use, which is easier than messing with package.env. |
39 |
|
40 |
But if anything still looks funny in emerge --pretend output, wait for |
41 |
advice from someone better than me! |