[Pkg-haskell-commits] [SCM] Packaging for Agda branch, master, updated. debian/2.2.6-2-7-gb60cd04

Marco Túlio Gontijo e Silva marcot at riseup.net
Sat Feb 20 22:11:41 UTC 2010


The following commit has been merged in the master branch:
commit b60cd0437f7d39bf9db39f0e6a1c0f29e697a3c2
Author: Marco Túlio Gontijo e Silva <marcot at riseup.net>
Date:   Sat Feb 20 19:53:04 2010 -0200

    debian/watch: Use format that downloads current version and checks for new versions.

diff --git a/debian/changelog b/debian/changelog
index b283ec1..db9d76e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ agda (2.2.6-3) UNRELEASED; urgency=low
     hscolour and haddock from Build-Depends:.
   * debian/control: Split Build-Depends in Buid-Depends-Indep:.
   * debian/control: Use all haskell: variables.
+  * debian/watch: Use format that downloads current version and checks
+    for new versions.
 
  -- Iain Lane <laney at ubuntu.com>  Mon, 08 Feb 2010 14:06:05 +0000
 
diff --git a/debian/watch b/debian/watch
index 4bff0f9..ef05229 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,5 @@
 version=3
-opts="dversionmangle=s/\+dfsg//" \
-http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Agda /packages/archive/Agda/.*/Agda-([\d\.]*)\.tar\.gz
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|ghc-paths-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/ghc-paths \
+    ([\d\.]*\d)/

-- 
Packaging for Agda



More information about the Pkg-haskell-commits mailing list