[fiona] 02/03: Update watch file to handle other tar extensions in filenamemangle.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jul 25 22:42:11 UTC 2015


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

sebastic pushed a commit to branch master
in repository fiona.

commit 1679152056f8b490d3b2f2bd859e14ce9bd9d565
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 25 23:32:10 2015 +0200

    Update watch file to handle other tar extensions in filenamemangle.
---
 debian/changelog | 1 +
 debian/watch     | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3a55632..801c239 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ fiona (1.5.1-2) UNRELEASED; urgency=medium
   * Team upload.
   * Apply patch by Steve Langasek to build-depend on python*-all-dev.
     (closes: #793645)
+  * Update watch file to handle other tar extensions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 25 Jul 2015 23:29:15 +0200
 
diff --git a/debian/watch b/debian/watch
index bf6b08a..4e410e5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,7 @@
 version=3
-opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.tar\.gz/fiona-$1.tar.gz/" \
+filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/fiona-$1.$2/ \
 https://github.com/Toblerity/Fiona/tags \
 (?:.*/)?(?:rel|r|v|fiona)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git



More information about the Pkg-grass-devel mailing list