[Python-modules-commits] [defusedxml] 05/12: debian/watch: properly handle RC releases.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Jul 2 14:34:00 UTC 2017


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

jelmer pushed a commit to branch master
in repository defusedxml.

commit a94784a8d129e1a001d91851cf937eb1942bef1d
Author: Jelmer Vernooij <jelmer at debian.org>
Date:   Sun Jul 2 14:18:26 2017 +0000

    debian/watch: properly handle RC releases.
---
 debian/changelog | 1 +
 debian/watch     | 7 ++-----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3d6fc4f..be96ca2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ defusedxml (0.4.1-3) UNRELEASED; urgency=medium
   * Bump standards version (no changes).
   * Bump debhelper version to 9.
   * Refresh upstream signing key (new subkeys).
+  * debian/watch: properly handle RC releases.
 
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:25:39 +0200
 
diff --git a/debian/watch b/debian/watch
index 2335561..3ac3c65 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,3 @@
-# watch control file for uscan
 version=3
-opts=pgpsigurlmangle=s/$/.asc/,filenamemangle=s/.*\/([^\/]+)#.+$/$1/ \
-  https://pypi.python.org/pypi/defusedxml/ \
-  .*/defusedxml-(.+)\.tar\.gz(?:#.*)? \
-  debian
+opts=pgpsigurlmangle=s/$/.asc/,uversionmangle=s/(\d)[_\.\-\+]?((rc)\d*)$/$1~$2/ \
+     https://pypi.debian.net/defusedxml/defusedxml-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list