[Exherbo-dev] Dep annotations, part 2

Bryan Østergaard bryan.ostergaard at gmail.com
Wed Apr 16 21:10:00 BST 2008


On Wed, Apr 16, 2008 at 9:34 AM, Ciaran McCreesh
<ciaran.mccreesh at googlemail.com> wrote:
> On Wed, 16 Apr 2008 07:38:37 +0100
>  Ciaran McCreesh <ciaran.mccreesh at googlemail.com> wrote:
>  > DEPENDENCIES="
>  >     run:
>  >         !app-misc/otherfoo [[
>  >             class="same-resource"
>  >             suggest-uninstall="after"
>  >             explanation="myfoo and otherfoo both provide /usr/bin/foo"
>  >             url="http://explain.exherbo.org/?q=myfoo-otherfoo-block"
>  >         ]]
>  >     "
>
>  Uh, first problem with this syntax... Frickin' nested quotes. So how
>  about:
>
>
>  DEPENDENCIES="
>     run:
>         !app-misc/otherfoo [[
>             class=same-resource
>             suggest-uninstall=after
>             explanation=( myfoo and otherfoo both provide /usr/bin/foo )
>             url=( http://explain.exherbo.org/?q=myfoo-otherfoo-block )
>         ]]
>     "
>
Sounds good. It's a fairly small thing for package maintainers but can
certainly ease life for users imo.

Regards,
Bryan Østergaard


More information about the Exherbo-dev mailing list