def to_sxml(self): return [sxml.metamodule(id=self.name), [sxml.dependencies] + [[sxml.dep(package=d)] for d in self.dependencies]]