[Python-modules-commits] [python-dropbox] 04/09: Update d/watch to use pypi simple API.

Michael Fladischer fladi at moszumanska.debian.org
Tue Oct 17 18:16:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch debian/master
in repository python-dropbox.

commit ea58287204d4139b8bfd539f6349f92a160a7bb1
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Oct 17 18:26:18 2017 +0200

    Update d/watch to use pypi simple API.
---
 debian/changelog | 1 +
 debian/watch     | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3a4eba1..56e5902 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 python-dropbox (8.0.0-2) UNRELEASED; urgency=medium
 
   * Add missing debian/gbp.conf.
+  * Update d/watch to use pypi simple API.
 
  -- Michael Fladischer <fladi at debian.org>  Tue, 17 Oct 2017 18:25:30 +0200
 
diff --git a/debian/watch b/debian/watch
index 48cca8c..d61a5ee 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-https://pypi.debian.net/dropbox/dropbox-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,filenamemangle=s/\S+\/(dropbox-[\d\.]+\.tar\.gz)#md5=\w+$/$1/,downloadurlmangle=s/\/simple\/dropbox\/\.\.\/\.\.([^#]+).*/$1/ \
+https://pypi.python.org/simple/dropbox/ \
+\S+/dropbox-(\S+)\.tar\.gz#md5=\w+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-dropbox.git



More information about the Python-modules-commits mailing list