[python-affine] 03/08: Update watch file to mangle the filename, include the project name and not only the version.

Bas Couwenberg sebastic at xs4all.nl
Sun Dec 28 14:08:14 UTC 2014


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

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

commit 4dfb6508ca3f8eafc0415c8fb88435bcf7e7f262
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 28 14:49:04 2014 +0100

    Update watch file to mangle the filename, include the project name and not only the version.
---
 debian/changelog | 2 ++
 debian/watch     | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1f84d83..e3b595e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ python-affine (1.0.1-2) UNRELEASED; urgency=medium
 
   * Add myself to Uploaders.
   * Add gbp.conf to use pristine-tar by default.
+  * Update watch file to mangle the filename,
+    include the project name and not only the version.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 28 Dec 2014 14:36:14 +0100
 
diff --git a/debian/watch b/debian/watch
index 3f9907c..e95646e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
 version=3
-opts=uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
-https://github.com/sgillies/affine/tags .*/(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
+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/" \
+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