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))
436
441
return (name, version, relation)
438
443
def _checkDependencyVersion(self, available, required, relation):
439
444
"""Return True if the available version satisfies the context."""
440
445
# This dict maps the package version relationship syntax in lambda
441
446
# functions which returns boolean according the results of
443
448
# For further information about pkg relationship syntax see:
445
450
# http://www.debian.org/doc/debian-policy/ch-relationships.html