File: watch

package info (click to toggle)
mako 1.3.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,424 kB
  • sloc: python: 12,492; makefile: 129; sh: 17
file content (15 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)