1 |
James wrote: |
2 |
> Howdy, |
3 |
> |
4 |
> Looking at the openshot ebuild, I see:: |
5 |
> EAPI=6 |
6 |
> PYTHON_COMPAT=( python3_{4,5} ) |
7 |
> |
8 |
> among other interesting details. |
9 |
> |
10 |
> So it should work with python 3.4 or 3.5, right? |
11 |
> |
12 |
> I have this:: |
13 |
> Installed versions: 2.7.10-r1 3.4.3-r1 |
14 |
> (examples gdbm ipv6 ncurses readline sqlite ssl threads tk wide-unicode xml |
15 |
> -berkdb -build -doc -hardened -wininst ELIBC="-uclibc") |
16 |
> |
17 |
> Available Python interpreters: |
18 |
> [1] python2.7 |
19 |
> [2] python3.4 * |
20 |
> |
21 |
> |
22 |
> currently I get this build failure message:: |
23 |
> |
24 |
> The ebuild selected to satisfy "=media-video/openshot-2.0.6" has unmet |
25 |
> requirements. |
26 |
> - media-video/openshot-2.0.6::gentoo USE="" ABI_X86="64" |
27 |
> PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4 |
28 |
> -python3_5" |
29 |
> |
30 |
> The following REQUIRED_USE flag constraints are unsatisfied: |
31 |
> exactly-one-of ( python_single_target_python3_4 |
32 |
> python_single_target_python3_5 ) |
33 |
> |
34 |
> The above constraints are a subset of the following complete expression: |
35 |
> exactly-one-of ( python_single_target_python3_4 |
36 |
> python_single_target_python3_5 ) python_single_target_python3_4? ( |
37 |
> python_targets_python3_4 ) python_single_target_python3_5? ( |
38 |
> python_targets_python3_5 ) |
39 |
> |
40 |
> |
41 |
> So, I should not have to install python 3.5. But that's no big deal. |
42 |
> If I do install python 3.5, it'll have it's own slot and I should leave |
43 |
> python-3.4x as the default or can I set the default to 3.5x? Not sure what I |
44 |
> missed. |
45 |
> |
46 |
> |
47 |
> discussion or guidance is welcome, |
48 |
> James |
49 |
> |
50 |
> |
51 |
|
52 |
I ran into this the other day. My thinking, the Python 3 stuff is |
53 |
coming so may as well go with something that should be around longer |
54 |
than Python 2 since the package supports Python 3. So, I did this in |
55 |
package.use: |
56 |
|
57 |
media-video/openshot python_single_target_python3_4 |
58 |
|
59 |
I have this available: |
60 |
|
61 |
root@fireball / # eselect python list |
62 |
Available Python interpreters: |
63 |
[1] python2.7 * |
64 |
[2] python3.4 |
65 |
root@fireball / # |
66 |
|
67 |
I'm not sure if this has changed but I think it used to be recommended |
68 |
not to set Python 3 stuff to active, at the time anyway. That may have |
69 |
changed. I read that either here or on -dev a good while back. May |
70 |
want to see what others think on this or it could be that everything you |
71 |
use works fine that way. |
72 |
|
73 |
Hope that helps. |
74 |
|
75 |
Dale |
76 |
|
77 |
:-) :-) |