[netcdf-cxx] 02/04: Update watch file to handle other tar extensions in filenamemangle.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Jul 27 16:48:13 UTC 2015


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

sebastic pushed a commit to branch master
in repository netcdf-cxx.

commit 780692aede651e35232dcda6926f0139cb15a262
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jul 27 18:29:22 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 91f8702..898af23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 netcdf-cxx (4.2.1-1~exp3) UNRELEASED; urgency=medium
 
   * Require at least libnetcdf-dev 4.3.3.1.
+  * Update watch file to handle other tar extensions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 27 Jul 2015 18:25:11 +0200
 
diff --git a/debian/watch b/debian/watch
index 3f1fe16..ca63e92 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,6 +2,6 @@ version=3
 opts=\
 dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|gamma|beta|alpha|b|a)[\-\.]?(\d*))$/$1~$3$4/,\
-filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.tar\.gz/netcdf-cxx-$1.tar.gz/ \
+filenamemangle=s/(?:.*?)?[vr]?(\d[\d\.\-\w]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/netcdf-cxx-$1.$2/ \
 https://github.com/Unidata/netcdf-cxx4/releases \
 (?:.*/)*(?:rel|v|r|netcdf-cxx4|)[\-\_]?(\d[\d\-\.\w]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list