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