summaryrefslogtreecommitdiff
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
parent3d1aad94d419292a085302d465143cf048beb36b (diff)
debian/watch: Switch to PyPI
Upstream updates this more reliably than GitHub releases.
-rw-r--r--debian/changelog7
-rw-r--r--debian/watch5
2 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index e0f5b98..00cac67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+py-macaroon-bakery (1.1.4-2) UNRELEASED; urgency=medium
+
+ * debian/watch: Switch to PyPI, which upstream updates more reliably than
+ GitHub releases.
+
+ -- Colin Watson <cjwatson@debian.org> Fri, 12 Oct 2018 13:04:58 +0100
+
py-macaroon-bakery (1.1.4-1) unstable; urgency=medium
[ Ondřej Nový ]
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@