Version: 5

# Upstream uses Fossil.  Release versions are read from the tag list
# (JSON API).  Upstream's anti-robot check currently blocks uscan from
# downloading /tarball/ URLs; until upstream lets robots fetch tagged
# releases (Fossil's robot-zip-tag setting), make the orig tarball with
# debian/get-orig-source instead.
Source: https://fossil.wanderinghorse.net/r/libfossil/json/tag/list
Searchmode: plain
Matching-Pattern: "v?(\d+(?:\.\d+)+)"
Downloadurlmangle: s%^.*?(\d+(?:\.\d+)+).*$%https://fossil.wanderinghorse.net/r/libfossil/tarball/$1/libfossil-$1.tar.gz%
Filenamemangle: s%^.*?(\d+(?:\.\d+)+).*$%@PACKAGE@-$1.tar.gz%
Pgpmode: none
Repacksuffix: +ds
Dversionmangle: auto
Compression: gzip
