On 09/18/2012 03:35 AM, Ulrich Mueller wrote:
>>>>>> On Tue, 18 Sep 2012, vivo75@gmail com wrote:
>
>> Il 18/09/2012 11:38, Ulrich Mueller ha scritto:
>>> Which is longer than the original.;-)
>
>> RDEPEND=">=sys-libs/zlib-1.1.4 >=app-arch/bzip2-1.0.2 app-arch/xz-utils"
>> DEPEND="${RDEPEND} virtual/pkgconfig"
>> DEPENDENCIES=">=sys-libs/zlib-1.1.4 >=app-arch/bzip2-1.0.2
>> app-arch/xz-utils" dep:build?(virtual/pkgconfig)"
>
> Omitting the whitespace around the parentheses? This isn't legal
> syntax for a dependency specification:
> <http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-780009.2>
>
> Neither does it improve readability.
>
> Brian's claim was that dependencies would "collapse down naturally on
> their own", which isn't the case in his example.
Also, if we change the meaning of RDEPEND in the next EAPI, so that it's
a hard build-time dep like DEPEND, then DEPEND="${RDEPEND}
virtual/pkgconfig" can be reduced to DEPEND="virtual/pkgconfig". This is
what I would like to do for the experimental EAPI 5-hdepend which is
planned [1].
[1] https://bugs.gentoo.org/show_bug.cgi?id=317337#c120
--
Thanks,
Zac