summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2018-10-12 13:05:29 +0100
committerColin Watson <cjwatson@debian.org>2018-10-12 13:07:30 +0100
commita057d3a84fc63dfab9cec5eb1d87bdba7d19a445 (patch)
treed4728427732fcac3a4ffd11350b17d7f9626f761 /debian/watch
parent3d1aad94d419292a085302d465143cf048beb36b (diff)
debian/watch: Switch to PyPI
Upstream updates this more reliably than GitHub releases.
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 3b4de03..8b405cb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%py-macaroon-bakery-$1.tar.gz%" \
- https://github.com/go-macaroon-bakery/py-macaroon-bakery/releases \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
+opts="uversionmangle=s/(rc|a|b|c)/~$1/" \
+ http://pypi.debian.net/macaroonbakery/macaroonbakery@ANY_VERSION@@ARCHIVE_EXT@