File: watch.tpl

package info (click to toggle)
pypi2deb 4.20240727
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 200 kB
  • sloc: python: 1,088; sh: 36; makefile: 25
file content (9 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
version=4
{%- if github %}
opts="pgpmode=none, filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
{{github}}/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
{% else %}
# try also https://pypi.debian.net/{{name}}/watch
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/{{name}}/{{name}}-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
{% endif %}