${"#!/usr/bin/env python3"}
${copyrightHeader}
# This is generated, do not edit. Update BuildConfigGenerator.groovy and
# 3ppFetch.template instead.
import pathlib
import sys
_3PP_DIR = pathlib.Path(__file__).resolve().parent
sys.path.insert(0, str(_3PP_DIR.parents[2]))
import fetch_common
_REPO_URL = '${dependency.repoUrl}'
SPEC = fetch_common.Spec(repo_url=_REPO_URL,
group_name='${dependency.group.replace('.', '/')}',
module_name='${dependency.name}',
file_ext='${dependency.extension}',
patch_version='${dependency.cipdSuffix}',
version_override=<%= dependency.overrideLatest ? "'${dependency.version}'" : "None" %>,
version_filter=<%= dependency.versionFilter ? "r'${dependency.versionFilter}'" : "None" %>)
if __name__ == '__main__':
fetch_common.main(SPEC)