[Python-modules-commits] [django-allauth] 10/13: d/watch: use uscan flags, and rely on pypi.debian.net for upstream watch

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Tue Dec 12 12:15:47 UTC 2017


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

peb-guest pushed a commit to branch master
in repository django-allauth.

commit 836abbe0e168097e1ac5bf2811bfdf31c36c7354
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Tue Dec 12 13:11:46 2017 +0100

    d/watch: use uscan flags, and rely on pypi.debian.net for upstream watch
---
 debian/changelog | 3 +++
 debian/watch     | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b042073..0b51a74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ django-allauth (0.34.0-1) unstable; urgency=medium
     - Add install changelogs rules
   * d/copyright:
     - Add myself in debian/*
+  * d/watch:
+    - Relies on pypi.debian.net instead of github's tarballs
+    - Use uscan magic tags to simplify the query url
   * d/patches:
     - Add 0001-Remove-all-privacy-breack-links-from-documentation.patch:
       This patch cleans the README.rst file from its links to outside
diff --git a/debian/watch b/debian/watch
index 3891c1a..887f5d3 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=4
-https://github.com/pennersr/django-allauth/releases \
-.*[^n]/(?:|v|version-|r|REL_|rel-|(?:django-allauth)(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@

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



More information about the Python-modules-commits mailing list