1 |
pushed, thanks! |
2 |
/haubi/ |
3 |
|
4 |
On 5/29/19 8:51 PM, Sergei Trofimovich wrote: |
5 |
> On Wed, 29 May 2019 12:01:20 +0200 |
6 |
> Michael Haubenwallner <haubi@g.o> wrote: |
7 |
> |
8 |
>> --- |
9 |
>> eclass/darcs.eclass | 12 ++++++++++-- |
10 |
>> 1 file changed, 10 insertions(+), 2 deletions(-) |
11 |
>> |
12 |
>> diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass |
13 |
>> index 489008a87f1..09b71882367 100644 |
14 |
>> --- a/eclass/darcs.eclass |
15 |
>> +++ b/eclass/darcs.eclass |
16 |
>> @@ -85,8 +85,16 @@ SRC_URI="" |
17 |
>> |
18 |
>> # --- end ebuild-configurable settings --- |
19 |
>> |
20 |
>> -DEPEND="dev-vcs/darcs |
21 |
>> - net-misc/rsync" |
22 |
>> +case ${EAPI:-0} in |
23 |
>> + [0-6]) # no need to care about 5-HDEPEND and similar |
24 |
>> + DEPEND="dev-vcs/darcs |
25 |
>> + net-misc/rsync" |
26 |
>> + ;; |
27 |
>> + *) |
28 |
>> + BDEPEND="dev-vcs/darcs |
29 |
>> + net-misc/rsync" |
30 |
>> + ;; |
31 |
>> +esac |
32 |
>> |
33 |
>> # @FUNCTION: darcs_patchcount |
34 |
>> # @DESCRIPTION: |
35 |
>> -- |
36 |
>> 2.19.2 |
37 |
>> |
38 |
> |
39 |
> Looks good! |
40 |
> |