[Pkg-scicomp-commits] trilinos/trunk/debian
Daniel Leidert
daniel.leidert.spam at gmx.net
Thu Mar 19 17:43:50 UTC 2009
SVN commit 4289 by dleidert-guest:
More complicated watch file :) This will hopefully catch *all* possible
releases x.0.y, even if x,y >= 10. It requires, that upstream stays with
x.0.y (examples not catched: 9.1.x, 10.0).
If someone knows a better regex, please contribute it.
M +5 -5 trilinos/trunk/debian/watch
--- trilinos/trunk/debian/watch #4288:4289
@@ -1,6 +1,6 @@
+# this requires that upstream stays with x.0.y
+# but it will catch 10.0.y and higher too
+
version=3
-opts=dversionmangle=s/\.dfsg$//,downloadurlmangle=s/login.html\?tid=tr(\d)(\d)(\d)$/files\/trilinos-$1.$2.$3.tar.gz/,filenamemangle=s/login.html\?tid=tr(\d)(\d)(\d)$/trilinos-$1.$2.$3.tar.gz/ \
- http://trilinos.sandia.gov/download/ login.html\?tid=tr(\d)(\d)(\d)
-
-# http://trilinos.sandia.gov/download/login.html?tid=tr([\d]+) \
-# http://trilinos.sandia.gov/download/files/trilinos-([\d\.]*)\.tar\.gz
+opts=dversionmangle=s/\.dfsg$//,downloadurlmangle=s/login.html\?tid=tr(\d+)(0)(0|(?!0)\d+)$/files\/trilinos-$1.$2.$3.tar.gz/,filenamemangle=s/login.html\?tid=tr(\d+)(0)(0|(?!0)\d+)$/trilinos-$1.$2.$3.tar.gz/ \
+ http://trilinos.sandia.gov/download/ login.html\?tid=tr(\d+)(0)(0|(?!0)\d+)$
More information about the Pkg-scicomp-commits
mailing list