Watch file results

component: main
debian_mangled_uversion: 1.3.6
debian_uversion: 1.3.6
distribution: debian
last_check: 2024-12-06 00:23:36.003761
release: sid
source: mako
status: newer package available
upstream_url: https://github.com/sqlalchemy/mako.git refs/tags/rel_1_3_7
upstream_version: 1.3.7
version: 1.3.6-1
watch_file:
version=4

# Upstream uses on GitHub tags like 'rel_1_2_4' and filenames as
# 'mako-rel_1_2_4.tar.gz'.The following mangling produces a filename as
# 'mako-1.2.4.tar.gz' which is wrong.

opts="mode=git, \
      compression=gz, \
      repacksuffix=ds, \
      filenamemangle=s/rel_.+\/?(\d\S+)\.tar\.gz/mako-rel$1\.tar\.gz/, \
      uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/; \
                     s/_/./g, \
      dversionmangle=s/\+ds(\.?\d+)?$//" \
https://github.com/sqlalchemy/mako.git \
      refs/tags/rel_(\d_\d_\d)