# The GitHub API (api.github.com) is rate limited to 60 unauthenticated
# requests per hour per IP, which makes uscan fail with "403 rate limit
# exceeded" from shared hosts. Scrape the tags page instead, which links
# directly to the generated tarballs.
Version: 5

Source: https://github.com/irgeek/StrEnum/tags
Matching-Pattern: https://github\.com/irgeek/StrEnum/archive/refs/tags/@ANY_VERSION@\.tar\.gz
Filename-Mangle: s%.*/@ANY_VERSION@\.tar\.gz%@PACKAGE@-$1.tar.gz%
Uversion-Mangle: s/\d\K[_.+-]?((?i)dev|pre|alpha|beta|rc)[.-]?/~$1/
Pgp-Mode: none
