PKG: mangle the name of the downloaded tarball from github

otherwise it is just v0.2.1
This commit is contained in:
Yaroslav Halchenko
2011-09-29 23:36:10 -04:00
committed by Stefan van der Walt
parent 1aaaf9b6e0
commit ad8a0592e8
+2 -1
View File
@@ -1,2 +1,3 @@
version=3
http://github.com/scikits-image/scikits.image/downloads .*tarball/v([\d\.a-z]+)
options="uversionmangle=s/v//,filenamemangle=s/.*\/(.*)/scikits-image-$1\.tar\.gz/" \
http://github.com/scikits-image/scikits.image/downloads .*tarball/v([\d\.a-z]+)