[mapnik-vector-tile] 02/03: Update watch file.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Thu Jul 16 22:57:07 UTC 2015


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

sebastic pushed a commit to branch master
in repository mapnik-vector-tile.

commit 07888ad9b68fefdaa4a88f7e7870e88095d6ee3e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jul 17 00:14:58 2015 +0200

    Update watch file.
    
    Changes:
    - Handle common versionmangle issues
    - Support other tarball extensions
    - Use repacksuffix option for appending +dfsg
---
 debian/changelog |  4 ++++
 debian/watch     | 10 ++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e9d65ba..cf58e10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ mapnik-vector-tile (0.8.0+dfsg-1) UNRELEASED; urgency=medium
 
   [ Bas Couwenberg ]
   * Add gbp.conf to use pristine-tar by default.
+  * Update watch file, changes:
+    - Handle common versionmangle issues
+    - Support other tarball extensions
+    - Use repacksuffix option for appending +dfsg
 
  -- Jérémy Lal <kapouer at melix.org>  Wed, 27 May 2015 22:06:37 +0200
 
diff --git a/debian/watch b/debian/watch
index 4b27254..322b6da 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,8 @@
 version=3
 opts=\
-uversionmangle=s/$/\+dfsg/,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/mapnik-vector-tile-$1.tar.gz/ \
- https://github.com/mapbox/mapnik-vector-tile/releases .*/archive/v?([\d\.]+).tar.gz
-
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*)?(?:rel|v|mapnik-vector-tile)[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/mapnik-vector-tile-$1.$2/,\
+repacksuffix=+dfsg \
+https://github.com/mapbox/mapnik-vector-tile/releases \
+(?:.*/)?(?:rel|v|mapnik-vector-tile)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list