[Python-modules-commits] r18857 - in packages/python-keyczar/trunk/debian (watch)

chrisk-guest at users.alioth.debian.org chrisk-guest at users.alioth.debian.org
Sun Oct 9 20:51:13 UTC 2011


    Date: Sunday, October 9, 2011 @ 20:51:12
  Author: chrisk-guest
Revision: 18857

Use GoogleCode redirector

Modified:
  packages/python-keyczar/trunk/debian/watch

Modified: packages/python-keyczar/trunk/debian/watch
===================================================================
--- packages/python-keyczar/trunk/debian/watch	2011-10-09 20:50:49 UTC (rev 18856)
+++ packages/python-keyczar/trunk/debian/watch	2011-10-09 20:51:12 UTC (rev 18857)
@@ -1,6 +1,8 @@
 version=3
+# Google Code's "all downloads" list contains a package with a malformed
+# version. We use the redirector's ?current option for the "current downloads"
+# list (thanks to David Paleino for implementing it so fast!)
 opts=\
-downloadurlmangle=s|.*[?]name=(.*?)&.*|http://keyczar.googlecode.com/files/$1|,\
-filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1|,\
-uversionmangle=s/(\d+)\.(\d+)(\D+)/$1.$2~$3/ \
-http://code.google.com/p/keyczar/downloads/detail[?]name=python-keyczar-(.*).tar.gz&.*
+uversionmangle=s/(\d+)\.(\d+)(\D+)/$1.$2~$3/,\
+dversionmangle=s/\+svn\d+// \
+http://googlecode.debian.net/p/keyczar/?current /p/keyczar/python-keyczar-(.*)\.tar\.gz




More information about the Python-modules-commits mailing list