[Pkg-haskell-commits] darcs: uuagc: Use standard watch file
Joachim Breitner
mail at joachim-breitner.de
Fri Jun 3 22:45:17 UTC 2011
Fri Jun 3 22:43:47 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Use standard watch file
Ignore-this: e312d1f001173347fcec194018ae36af
M ./watch -9 +4
Fri Jun 3 22:43:47 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Use standard watch file
Ignore-this: e312d1f001173347fcec194018ae36af
diff -rN -u old-uuagc//watch new-uuagc//watch
--- old-uuagc//watch 2011-06-03 22:45:16.997288852 +0000
+++ new-uuagc//watch 2011-06-03 22:45:17.009275891 +0000
@@ -1,10 +1,5 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
version=3
-
-http://hackage.haskell.org/packages/archive/uuagc/([\d.]+)/uuagc-([\d.]+).tar.gz
-# http://www.cs.uu.nl/wiki/HUT/Download .*/uuagc-(.*)-src\.tar\.gz
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|uuagc-$1.tar.gz|" \
+ http://hackage.haskell.org/packages/archive/uuagc \
+ ([\d\.]*\d)/
More information about the Pkg-haskell-commits
mailing list