From 1d560ce83697d149354a7d84edb80d0f748a3a00 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sat, 9 Oct 2021 21:31:43 -0400 Subject: [PATCH] track github releases --- debian/changelog | 4 +++- debian/watch | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7cf4573..5a0ff15 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,8 +10,10 @@ python-click (7.1.2-2) UNRELEASED; urgency=low [ Sandro Tosi ] * Use the new Debian Python Team contact name and address + * debian/watch + - track github releases - -- Sandro Tosi Mon, 04 Jan 2021 17:03:54 -0500 + -- Sandro Tosi Sat, 09 Oct 2021 21:31:32 -0400 python-click (7.1.2-1) unstable; urgency=medium diff --git a/debian/watch b/debian/watch index e635ec3..7639901 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ -version=3 -opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ -https://pypi.debian.net/click/[cC]lick-([.\d]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%python-click-$1.tar.gz%" \ +https://github.com/pallets/click/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz