1 |
On Thu, Dec 27, 2012 at 4:59 PM, Michał Górny <mgorny@g.o> wrote: |
2 |
> I don't have a good idea how to make enforcing USE deps inside easier |
3 |
> than $(python_gen_cond_dep dev-foo/bar[$(python_gen_usedep IMPLS)] |
4 |
> IMPLS) without adding some risky magic. |
5 |
|
6 |
Just to confirm my thoughts, say we have this: |
7 |
|
8 |
PYTHON_COMPAT=( python2_6 python2_7 python3_2 ) |
9 |
|
10 |
RDEPEND="$(python_gen_cond_dep dev-python/foo[$(python_gen_usedep |
11 |
python2*)] python2*)" |
12 |
|
13 |
I think you would end up with something like this: |
14 |
|
15 |
python_targets_python2_6? ( |
16 |
python_targets_python2_6?,python_targets_python2_7?] ) |
17 |
python_targets_python2_7? ( |
18 |
python_targets_python2_6?,python_targets_python2_7?] ) |
19 |
|
20 |
Right? Looks a bit odd, but I guess it works. |