Module submission - libmusicbrainz

Davide "M3xican" Coppola dmc at dev-labs.net
Sun Apr 16 17:55:38 UTC 2006


Auke Kok wrote:
>> A last question, modules files doesn't support conditional dependencies, isn't it?
>>     
>
> it does, the function is called "optional_depends" instead of "depends".
>   
Yes, I have used the optional_depends function, but it's not what I meant.
I mean something like:

if(IsInstalled(packageA))
do this...
else
....

we could use a feature like this to have a code like:

if(IsInstalled(python))
    "ctypes is a dependence"
else
    "suggest ctypes as optiona dependence"

And optional_depends doesn't seem to offer this stuff, isn't it?

-- 

Davide "M3xican" Coppola

--------------------------------------------------------------------
email:  dmc at dev-labs.net
homep:  http://dmc.dev-labs.net
ICQ:    104241710
MSN:	bad_hangover at hotmail.it

Don't use IE and OE! 
Download FireFox and ThunderBird: http://www.mozilla.org/
--------------------------------------------------------------------



More information about the Lunar mailing list