Watch file results

component: main
debian_mangled_uversion: 1.8.0
debian_uversion: 1.8.0
distribution: debian
last_check: 2021-09-17 00:50:10.753697
release: sid
source: lua-filesystem
status: up to date
upstream_url: https://github.com/keplerproject/luafilesystem/archive/refs/tags/v1_8_0.tar.gz
upstream_version: 1.8.0
version: 1.8.0-1
watch_file:
version=4
# A typical upstream tag looks like v1_7_0 (which should be 1.7.0 in Debian),
# but if they releaes a luarocks-specific update then it looks like v1_7_0_2
# (which should be 1.7.0-2 in Debian). uscan can't handle this on its own, so
# just turn all _ to . and manually fix things later.
opts="filenamemangle=s%(?:.*?)?v?(\d[-._\d]*)\.tar\.gz%lua-filesystem-$1.tar.gz%, pgpmode=none, uversionmangle=s/_/./g" \
    https://github.com/keplerproject/luafilesystem/tags \
    (?:.*?/)?v?(\d[-._\d]*)\.tar\.gz