On Wed, 2 Nov 2016 07:43:04 +0100 Michał Górny <mgo...@gentoo.org> wrote:
> On Tue, 1 Nov 2016 23:09:25 +0000 > Sergei Trofimovich <sly...@gentoo.org> wrote: > > > On Tue, 1 Nov 2016 14:16:18 +0100 > > Michał Górny <mgo...@gentoo.org> wrote: > > > > > However, while at it I should > > > point out that the spec doesn't really cover pure-DEPEND :=, so there > > > is no guarantee that Haskell := operators will work at all. > > > > Yeah. It settled mostly because DEPEND="$RDEPEND + foo" is idiomatic > > at least in non ':=' world and no tools complained about ':=' in DEPEND. > > No, it's allowed because of DEPEND=$RDEPEND. I'm guessing (again) I should read it as "syntax-wise they are defined by the same grammar". > However, DEPEND without RDEPEND is not guaranteed to do anything useful. I'm not aware of any haskell ebuilds that set ':=' only in DEPEND but not propagate it to RDEPEND. Crude hack 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 reports a few unrelated packages. -- Sergei
pgphFCQ8W7m9L.pgp
Description: Цифровая подпись OpenPGP