1 |
On Wed, 2 Nov 2016 07:43:04 +0100 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> On Tue, 1 Nov 2016 23:09:25 +0000 |
5 |
> Sergei Trofimovich <slyfox@g.o> wrote: |
6 |
> |
7 |
> > On Tue, 1 Nov 2016 14:16:18 +0100 |
8 |
> > Michał Górny <mgorny@g.o> wrote: |
9 |
> > |
10 |
> > > However, while at it I should |
11 |
> > > point out that the spec doesn't really cover pure-DEPEND :=, so there |
12 |
> > > is no guarantee that Haskell := operators will work at all. |
13 |
> > |
14 |
> > Yeah. It settled mostly because DEPEND="$RDEPEND + foo" is idiomatic |
15 |
> > at least in non ':=' world and no tools complained about ':=' in DEPEND. |
16 |
> |
17 |
> No, it's allowed because of DEPEND=$RDEPEND. |
18 |
|
19 |
I'm guessing (again) I should read it as "syntax-wise they are defined by the |
20 |
same grammar". |
21 |
|
22 |
> However, DEPEND without RDEPEND is not guaranteed to do anything useful. |
23 |
|
24 |
I'm not aware of any haskell ebuilds that set ':=' only in DEPEND but not |
25 |
propagate it to RDEPEND. |
26 |
|
27 |
Crude hack |
28 |
gentoo/metadata/md5-cache $ for f in */*; do if egrep -q '^DEPEND=.*:=' $f; then if ! egrep -q '^RDEPEND=.*:=' $f; then echo $f; fi; fi; done |
29 |
reports a few unrelated packages. |
30 |
|
31 |
-- |
32 |
|
33 |
Sergei |