[python-mpop] 01/01: Fix watch file for common mistakes

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Feb 27 18:26:06 UTC 2016


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

a_valentino-guest pushed a commit to branch master
in repository python-mpop.

commit 0f558c228c846352760b4289d5833c9aa091cfb2
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Feb 27 18:25:30 2016 +0000

    Fix watch file for common mistakes
---
 debian/watch | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/watch b/debian/watch
index 871a07e..4f821b8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,8 @@
 # Compulsory line, this is a version 3 file
 version=3
-
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/mpop-$1\.tar\.gz/ \
-  https://github.com/pytroll/mpop/tags .*/v?(\d\S*)\.tar\.gz
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|python-mpop)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/python-mpop-$1.$2/ \
+https://github.com/pytroll/mpop/releases \
+(?:.*?/)?(?:rel|v|python-mpop)?[\-\_]?(\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-mpop.git



More information about the Pkg-grass-devel mailing list