Watch file results

component: main
debian_mangled_uversion: 1.3.2
debian_uversion: 1.3.2
distribution: debian
last_check: 2024-04-26 00:22:30.667317
release: sid
source: mako
status: newer package available
upstream_url: https://github.com/sqlalchemy/mako.git refs/tags/rel_1_3_3
upstream_version: 1.3.3
version: 1.3.2-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)