Module submission - libmusicbrainz

Auke Kok sofar at foo-projects.org
Sun Apr 16 18:27:22 UTC 2006


Davide "M3xican" Coppola wrote:
> Davide "M3xican" Coppola wrote:
>> 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?
>>   
> 
> Thanks to ElAngelo suggestion, the problem should be solved, look
> at the attached DEPENDS.
> 
> I have tested this new DEPENDS on my system and everything works
> fine.
> 
> 
> ------------------------------------------------------------------------
> 
> depends expat 
> if module_installed Python ; then
> 	depends ctypes
> fi

It's fine in your zlocal, but...

I can't allow this in moonbase. Please realize that this cannot be merged into 
the stable moonbase like this for obvious reasons - you basically introduce 
hell into moonbase like this and many many users will start to complain over time.

Auke


More information about the Lunar mailing list