def METHOD_NAME(self):
    """Return list of required dependencies for this extension."""
    if self.name == 'toy':
        return ['bar', 'barbar']
    else:
        raise EasyBuildError("Dependencies for %s are unknown!", self.name)