[Pkg-haskell-commits] darcs: haskell-hxt: Use usual watch file

Joachim Breitner mail at joachim-breitner.de
Sat Jul 10 18:10:39 UTC 2010


Sat Jul 10 17:55:01 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Use usual watch file
  Ignore-this: 3a6a233b36256ec5dc5eaf629d39381e

    M ./watch -23 +4

Sat Jul 10 17:55:01 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
  * Use usual watch file
  Ignore-this: 3a6a233b36256ec5dc5eaf629d39381e
diff -rN -u old-haskell-hxt/watch new-haskell-hxt/watch
--- old-haskell-hxt/watch	2010-07-10 18:10:38.980067833 +0000
+++ new-haskell-hxt/watch	2010-07-10 18:10:38.992068460 +0000
@@ -1,24 +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
-
-# Uncomment to examine a Webpage
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php haskell-hxt-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/haskell-hxt-(.*)\.tar\.gz
-http://hackage.haskell.org/packages/archive/hxt/([\d\.]+)/hxt-(.*).tar.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/haskell-hxt-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge, for devscripts >= 2.9
-# http://sf.net/haskell-hxt/haskell-hxt-(.*)\.tar\.gz
-
-# Uncomment to find new files on GooglePages
-# http://example.googlepages.com/foo.html haskell-hxt-(.*)\.tar\.gz
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|hxt-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/hxt \
+    ([\d\.]*\d)/





More information about the Pkg-haskell-commits mailing list