[Exherbo-dev] Dep annotations, part 2

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Wed Apr 16 08:34:02 BST 2008


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 )
        ]]
    "

-- 
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.exherbo.org/mailman/private/exherbo-dev/attachments/20080416/80d64b9a/attachment.pgp 


More information about the Exherbo-dev mailing list