Changes

Jump to navigation Jump to search
Line 63: Line 63:     
See OBS [https://packages.sugarlabs.org/project/list_public projects] for all existed sweets.
 
See OBS [https://packages.sugarlabs.org/project/list_public projects] for all existed sweets.
 +
 +
=== Dependencies ===
 +
 +
Dependencies might be used in ''requires'' and ''suggests'' options in recipes files to declare that the current sweet is depending on another ones.
 +
 +
The format of dependency string is:
 +
 +
<interface> [(=|>=|<) <version>]
 +
 +
The ''interface'' value supports all interface [[#Interfaces|forms]]. The limited set of version conditions depends on Zero Install [http://0install.net/interface-spec.html specification] when the {{Code|=}} condition is a high level one and will be described in {{Code|>=}} and {{Code|<}} terms.
 +
 +
Dependencies might be optional. In that case, they need to be wrapped into square brackets. Optional dependencies will be used only if there are implementation to choose, otherwise they will be discarded without errors.
    
=== Stability status ===
 
=== Stability status ===

Navigation menu