[collada-dom] 02/07: Added a better watch file with ds1 suffix

Leopold Palomo-Avellaneda leo at alaxarxa.net
Tue May 12 13:29:08 UTC 2015


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

lepalom-guest pushed a commit to branch master
in repository collada-dom.

commit 91ee625d4925a265c9a07695665939bc06bab86d
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date:   Tue May 12 14:43:07 2015 +0200

    Added a better watch file with ds1 suffix
---
 debian/watch | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 6222208..7557a46 100644
--- a/debian/watch
+++ b/debian/watch
@@ -5,7 +5,17 @@ version=3
 # Old upstream version. We change to github from Rosen Diankov
 #opts=uversionmangle=s/$/+dfsg/ \
 # http://sf.net/collada-dom/collada-dom-(.*)\.tar\.gz
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/collada-dom-$1\.tar\.gz/ \
+# https://github.com/rdiankov/collada-dom/releases (?:.*/)?v?(\d[\d\.]*)\.tar\.gz
+
+#opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/collada-dom-$1\.tar\.gz/ repacksuffix=+ds1 \
+# https://github.com/rdiankov/collada-dom/releases .*/v?(\d\S*)\.tar\.gz
+# For GitHub projects you can use the tags or releases page.  Since the
+# archive
+# URLs use only the version as the name, it is recommended to use a
+# filenamemangle to adjust the name of the downloaded file:
+#opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/collada-dom-$1.tar.gz/" \
+# https://github.com/rdiankov/collada-dom/releases ?:.*/)?v?(\d[\d\.]*)\.tar\.gz
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/collada-dom-$1\.tar\.gz/,dversionmangle=s/\+ds1\d?$//,repacksuffix=+ds1 \
   https://github.com/rdiankov/collada-dom/releases .*/v?(\d\S*)\.tar\.gz
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/collada-dom.git



More information about the debian-science-commits mailing list