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

Michael Fladischer fladi at moszumanska.debian.org
Tue Oct 17 14:50:45 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 236d14defcc298f76f079595535c4494d93e5db7
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Oct 17 16:39:44 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 22a4244..bb8db5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-dropbox (8.0.0-2) UNRELEASED; urgency=medium
+
+  * Update d/watch to use pypi simple API.
+
+ -- Michael Fladischer <fladi at debian.org>  Tue, 17 Oct 2017 16:39:32 +0200
+
 python-dropbox (8.0.0-1) unstable; urgency=low
 
   * Initial release (Closes: #828940).
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