433
433
"It is expected to be a tuple containing only another "
434
434
"tuple with 3 elements (name, version, relation)."
435
435
% (token, self.title, self.id, self.dependencies))
441
436
return (name, version, relation)
443
438
def _checkDependencyVersion(self, available, required, relation):
444
439
"""Return True if the available version satisfies the context."""
445
440
# This dict maps the package version relationship syntax in lambda
446
441
# functions which returns boolean according the results of
448
443
# For further information about pkg relationship syntax see:
450
445
# http://www.debian.org/doc/debian-policy/ch-relationships.html