[SCM] inkscape/master: debian/watch: rewrite to point to launchpad.net (instead of sf.net) and improve it

mapreri-guest at users.alioth.debian.org mapreri-guest at users.alioth.debian.org
Thu Sep 10 20:43:05 UTC 2015


The following commit has been merged in the master branch:
commit 1748783e723db06ecb02bb4506889972b2837867
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Sep 10 20:42:50 2015 +0000

    debian/watch: rewrite to point to launchpad.net (instead of sf.net) and improve it

diff --git a/debian/watch b/debian/watch
index 5ea053c..0799246 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,6 @@
 version=3
-opts=uversionmangle=s|(\d)pre(\d)|$1~pre$2| \
-http://sf.net/inkscape/inkscape-(.*).tar.gz
+
+opts="\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//" \
+https://launchpad.net/inkscape (?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz))

-- 
inkscape packaging



More information about the pkg-multimedia-commits mailing list