PKG: mangle the name of the downloaded tarball from github

otherwise it is just v0.2.1
This commit is contained in:
Yaroslav Halchenko authored and Stefan van der Walt committed 2012-05-02 23:14:00 -07:00
1 parent 9fc9a7b86e
commit d4e02e677c
1 file changed
+2 -1
+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]+)