[SCM] hydrogen/master: Update watch file: Bump to version 4. Mention gpb in usage comment. Add filenamemangle. Tighten uversionmangle. Tighten version match.

js at users.alioth.debian.org js at users.alioth.debian.org
Wed Jul 19 08:51:14 UTC 2017


The following commit has been merged in the master branch:
commit b49fffeda53da4b4ea959fa2115de7d9719aef1e
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Jul 19 09:17:42 2017 +0200

    Update watch file: Bump to version 4. Mention gpb in usage comment. Add filenamemangle. Tighten uversionmangle. Tighten version match.

diff --git a/debian/watch b/debian/watch
index deaabef..f2de856 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
-# Run the "uscan" command to check for upstream updates and more.
-version=3
-opts=uversionmangle=s/-(beta|alpha|rc)/~$1/ \
-https://github.com/hydrogen-music/hydrogen/tags .*/v?(\d\S*)\.tar\.gz
+# run "uscan --report" to check or "gpb import-orig --uscan" to update
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE at -$1.tar.gz%,uversionmangle=s/(\d)-(alpha|beta|rc)/$1~$2/"
+ https://github.com/hydrogen-music/hydrogen/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian

-- 
hydrogen packaging



More information about the pkg-multimedia-commits mailing list