[python-affine] 07/10: Update watch file, handle other tar extensions in filenamemangle.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Apr 8 21:10:48 UTC 2016


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

sebastic pushed a commit to branch master
in repository python-affine.

commit adcbd2bd0cb5c0675b82df450c27092171eb2a0a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Apr 8 22:59:01 2016 +0200

    Update watch file, 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 f451681..3158f01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ python-affine (1.3.0-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Update Vcs-Git URL to use HTTPS.
   * Enable parallel builds.
+  * Update watch file, handle other tar extensions in filenamemangle.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 08 Apr 2016 22:40:02 +0200
 
diff --git a/debian/watch b/debian/watch
index e95646e..c88101c 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/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
-filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/affine-$1.tar.gz/" \
+filenamemangle=s/(?:.*?)?(?:rel|v|affine)?[\-\_]?(\d[\d\.]*)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/affine-$1.$2/ \
 https://github.com/sgillies/affine/releases \
 (?:.*/)*(?:rel|v|affine|)[\-\_]?(\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/python-affine.git



More information about the Pkg-grass-devel mailing list