[SCM] inkscape/watch: debian/watch: rewrite, using format=4 and pgpmode=next/prev to allow verification of the tarball

mapreri-guest at users.alioth.debian.org mapreri-guest at users.alioth.debian.org
Wed Oct 7 17:34:38 UTC 2015


The following commit has been merged in the watch branch:
commit 4ec4770938e894e1c2f9a840dfbfce7817141d54
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Oct 7 17:21:18 2015 +0000

    debian/watch: rewrite, using format=4 and pgpmode=next/prev to allow verification of the tarball
    
    changes:
     * version: 3 → 4
     * look at https://launchpad.net/inkscape/+download instead of main page
     * split more the lines
     * add a line for only download the signature (allowing multiple sig formats)
     * add pgpmode=next to the main line
     * add a couple of comments
    
    See https://bugs.debian.org/800704 for a bug (or better a feature/help request
    about this very watch file!).
    
    This new watch file currently requires a particular branch of the devscripts git
    repository.
    
    Thanks: Osamu Aoki <osamu at debian.org> for the help and for implementing all this new stuff in devscripts
    Gbp: Short

diff --git a/debian/watch b/debian/watch
index 0799246..61fe573 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,14 @@
-version=3
+version=4
 
+# main tarball
 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))
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/, \
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//, \
+pgpmode=next" \
+https://launchpad.net/inkscape/+download \
+(?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz)) debian
+
+# find the signature
+opts="pgpmode=previous" \
+https://launchpad.net/inkscape/+download \
+(?:.*/)?inkscape[_\-\.]?(\d\S+)\.(?:tgz|txz|tar\.(?:bz2|gz|z2|xz)).(?:asc|pgp|gpg|sig) previous

-- 
inkscape packaging



More information about the pkg-multimedia-commits mailing list