Version: 5

Template: Github
Owner: python-xlib
Project: python-xlib
# The Github template defaults to the api.github.com tarball endpoint, which
# serves a different tarball (root directory python-xlib-python-xlib-<sha>/)
# to the codeload archive endpoint the existing orig tarballs came from.
# Mangle the URL back so uscan keeps reproducing the pristine-tar tarball.
Download-Url-Mangle: s%https://api\.github\.com/repos/([^/]+)/([^/]+)/git/refs/tags/(.+)%https://github.com/$1/$2/archive/refs/tags/$3.tar.gz%
