summaryrefslogtreecommitdiff
path: root/p/haskell-parsec2
diff options
context:
space:
mode:
authorMarco TĂșlio Gontijo e Silva <marcot@riseup.net>2009-12-29 03:17:01 +0300
committer=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?= <=?UTF-8?q?Marco=20T=C3=BAlio=20Gontijo=20e=20Silva?=>2009-12-29 03:17:01 +0300
commit2248c5ca12d22ea6d8b7b4caaf1a56801bc37be5 (patch)
tree7ea5371f508a2dcfbd42e268d4cfa2975721d8bb /p/haskell-parsec2
parent927155bd7a035f30e0ee53fcf72905fb7343ac1a (diff)
downloadDHG_packages-2248c5ca12d22ea6d8b7b4caaf1a56801bc37be5.tar.gz
haskell-parsec2: debian/watch: Use format that works for --download-current-version.
Diffstat (limited to 'p/haskell-parsec2')
-rw-r--r--p/haskell-parsec2/debian/changelog1
-rw-r--r--p/haskell-parsec2/debian/watch4
2 files changed, 4 insertions, 1 deletions
diff --git a/p/haskell-parsec2/debian/changelog b/p/haskell-parsec2/debian/changelog
index c7fce02db..e0cfbd8df 100644
--- a/p/haskell-parsec2/debian/changelog
+++ b/p/haskell-parsec2/debian/changelog
@@ -6,6 +6,7 @@ haskell-parsec2 (2.1.0.1-2) UNRELEASED; urgency=low
[ Marco TĂșlio Gontijo e Silva ]
* debian/control: Use more sintetic name for Vcs-Darcs.
* debian/control: Change Priority: to extra.
+ * debian/watch: Use format that works for --download-current-version.
-- Joachim Breitner <nomeata@debian.org> Fri, 24 Jul 2009 14:37:43 +0200
diff --git a/p/haskell-parsec2/debian/watch b/p/haskell-parsec2/debian/watch
index 65903e2f1..f8d4fd37b 100644
--- a/p/haskell-parsec2/debian/watch
+++ b/p/haskell-parsec2/debian/watch
@@ -1,2 +1,4 @@
version=3
-http://hackage.haskell.org/packages/archive/parsec/(2\.[\d\.]+)/parsec-(2\.[\d\.]+).tar.gz
+opts=downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz| \
+ http://hackage.haskell.org/packages/archive/parsec \
+ ([\d\.]*\d)/