def provides(varmap):
    """Return a minimal ``provides`` list from the setup vars.
    """
    try:
        return ['{} ({})'.format(varmap['name'], varmap['version'])]
    except KeyError:
        return [varmap['name']]
