On Sat, 18 Jan 2014 23:54:43 +0100, Andreas Tille wrote: > > The following seems to work: > > > > version=3 > > opts=downloadurlmangle=s{([\d.]+)$}{$&/ssake_v$1-tar.gz}g \ > > http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) > > Hmmm, it just drops the tarball named > > 3.8.1 > > (simply the version number as file name) Ouch, sorry, I was deluded by uscan's output which pointed to the write location. > and I failed to add a proper > filenamemangle statement. :-( It took me some time now, but I have another proposal: version=3 opts=downloadurlmangle=s{([\d.]+)$}{$1/ssake_v$1-tar.gz},\ filenamemangle=s{.+/([\d.]+)$}{ssake_v$1-tar.gz} \ http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) which gives me a ../ssake_v3.8.1-tar.gz (You could also name it .tar.gz in the course of mangling.) > Thanks for your patience and greetings from MiniDebConf in Paris Bonne soirée a Paris ! :) gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Dire Straits: Romeo And Juliet
Attachment:
signature.asc
Description: Digital signature