[rasterio] 06/09: Handle other tar extensions in filenamemangle.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Dec 25 14:13:54 UTC 2015


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

sebastic pushed a commit to branch master
in repository rasterio.

commit 7ea02d5ee9f243f81c2c799b11b360c9dfafdc5d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 25 14:26:07 2015 +0100

    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 8830ee3..461f991 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 rasterio (0.31.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Handle other tar extensions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 25 Dec 2015 14:55:18 +0100
 
diff --git a/debian/watch b/debian/watch
index 29323d0..bcdb72e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
 version=3
 opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
 uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/rasterio-$1.tar.gz/" \
+filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/rasterio-$1.$2/" \
 https://github.com/mapbox/rasterio/releases \
 (?:.*/)*(?:rel|v|rasterio|)[\-\_]?(\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/rasterio.git



More information about the Pkg-grass-devel mailing list