[Debian-med-packaging] Help for watch file needed for ssake

gregor herrmann gregoa at debian.org
Sat Jan 18 23:58:42 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140119/78a2e5e6/attachment.sig>


More information about the Debian-med-packaging mailing list