Re: Help with watch file needed

2015-01-29 Thread Peter Spiess-Knafl
Thank you Eriberto. That fixed it. Greetings Peter On 01/29/2015 02:56 AM, Eriberto Mota wrote: version=3 opts=dversionmangle=s/\+dfsg// \ https://github.com/LibVNC/libvncserver/releases .*/archive/LibVNCServer-(\d\S+)\.tar\.gz -- To UNSUBSCRIBE, email to

Help with watch file needed

2015-01-28 Thread Peter Spiess-Knafl
Hello! Can someone help me with the watchfile for the current libvncserver sourcepackage? https://packages.debian.org/source/sid/libvncserver I am trying to package a new upstream version, but the current watchfile cannot download/extract the newest upstream version. I already spend some time

Re: Help with watch file needed

2015-01-28 Thread Eriberto Mota
Hi Peter, My suggestion: version=3 opts=dversionmangle=s/\+dfsg// \ https://github.com/LibVNC/libvncserver/releases .*/archive/LibVNCServer-(\d\S+)\.tar\.gz Take care to use 'releases' instead 'tags' to allow the download. Cheers, Eriberto 2015-01-29 0:16 GMT-02:00 Peter Spiess-Knafl

Re: Help for watch file needed

2014-06-30 Thread Dominique Dumont
On Sunday 29 June 2014 14:22:18 Daniel Lintott wrote: I don't know if this is the best method... but it seems to work. uversionmangle=s/(\d)-(\d-\d)/$1.$2/g This will break as soon as any field of the version goes beyond 9: a \d alone does not match '10'. Given that upstream version begins

Re: Help for watch file needed

2014-06-30 Thread Andreas Tille
Hi On Mon, Jun 30, 2014 at 10:21:55AM +0800, Paul Wise wrote: On Mon, Jun 30, 2014 at 1:04 AM, Andreas Tille wrote: opts=s/(\d)-(\d-\d)/$1.$2/,filenamemangle=... uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/ ... at least with uscan from latest devscripts this does not seem

Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi, I have trouble fixing the watch file for r-other-bio3d at Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-other-bio3d/trunk/ At first I do not understand why uversionmangle=s/\./-/g does not work: $ uscan --verbose --report -- Scanning for watchfiles in . -- Found

Re: Help for watch file needed

2014-06-29 Thread Charles Plessy
Le Sun, Jun 29, 2014 at 11:43:47AM +0200, Andreas Tille a écrit : At first I do not understand why uversionmangle=s/\./-/g does not work: $ uscan --verbose --report -- Scanning for watchfiles in . -- Found watchfile in ./debian -- In debian/watch, processing watchfile line:

Re: Help for watch file needed

2014-06-29 Thread Jakub Wilk
* Andreas Tille andr...@an3as.eu, 2014-06-29, 11:43: I have trouble fixing the watch file for r-other-bio3d at Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-other-bio3d/trunk/ At first I do not understand why uversionmangle=s/\./-/g does not work: You got it backwards. It

Re: Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi Jakub On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: You got it backwards. It should be: uversionmangle=s/-/./g No, I really want to substitute v2-0-1 to 2.0-1 as the tarball on the download page http://thegrantlab.org/bio3d/download/download-bucket as well as the Debian

Re: Help for watch file needed

2014-06-29 Thread Daniel Lintott
Hi Andreas, On 29/06/14 14:05, Andreas Tille wrote: Hi Jakub On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: You got it backwards. It should be: uversionmangle=s/-/./g No, I really want to substitute v2-0-1 to 2.0-1 as the tarball on the download page I don't know if this

Re: Help for watch file needed

2014-06-29 Thread Gert Wollny
On Sun, 2014-06-29 at 15:05 +0200, Andreas Tille wrote: Hi Jakub On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: You got it backwards. It should be: uversionmangle=s/-/./g No, I really want to substitute v2-0-1 to 2.0-1 as the tarball on the download page You could leave

Re: Help for watch file needed

2014-06-29 Thread Andreas Tille
Hi, On Sun, Jun 29, 2014 at 02:22:18PM +0100, Daniel Lintott wrote: Hi Andreas, On 29/06/14 14:05, Andreas Tille wrote: Hi Jakub On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote: You got it backwards. It should be: uversionmangle=s/-/./g No, I really want to

Re: Help for watch file needed

2014-06-29 Thread Paul Wise
On Mon, Jun 30, 2014 at 1:04 AM, Andreas Tille wrote: opts=s/(\d)-(\d-\d)/$1.$2/,filenamemangle=... uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/ ... at least with uscan from latest devscripts this does not seem to work ... You are missing the uversionmangle= option name. --

Re: Help for watch file needed for ssake

2014-01-19 Thread Andreas Tille
On Sun, Jan 19, 2014 at 12:58:42AM +0100, gregor herrmann wrote: 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} \

Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
Hi, the current watch file for ssake fails finding any version. The reason is that the upstream download page http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases has dedicated download pages for every single download tarball. I tried to fix this using the following watch file

Re: Help for watch file needed for ssake

2014-01-18 Thread Eriberto
A simple solution: version=3 http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases .*/ssake/releases/(\d\S*) Cheers, Eriberto 2014/1/18 Andreas Tille andr...@an3as.eu: Any help to fix the watch file? -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a

Re: Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
Hi Eriberto, thanks for you quick response, On Sat, Jan 18, 2014 at 02:04:04PM -0200, Eriberto wrote: A simple solution: version=3 http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases .*/ssake/releases/(\d\S*) I tested this but this only drops a single file named 3.8.1

Re: Help for watch file needed for ssake

2014-01-18 Thread Eriberto
Sorry. My last solution is very simplist and doesn't allow downloads. Please, try it: version=3 http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*)/ ssake_v(\d\S*)-tar.gz Cheers, Eriberto 2014/1/18 Eriberto eribe...@eriberto.pro.br: A simple solution: version=3

Re: Help for watch file needed for ssake

2014-01-18 Thread gregor herrmann
On Sat, 18 Jan 2014 16:55:13 +0100, Andreas Tille wrote: version=3 opts=downloadurlmangle=s/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/ \ http://www.bcgsc.ca/platform/bioinfo/software/ssake/releases/([\d.]*) uscan: In debian/watch, potentially unsafe or malformed

Re: Help for watch file needed for ssake

2014-01-18 Thread Andreas Tille
On Sat, Jan 18, 2014 at 06:49:25PM +0100, gregor herrmann wrote: On Sat, 18 Jan 2014 16:55:13 +0100, Andreas Tille wrote: uscan: In debian/watch, potentially unsafe or malformed downloadurlmangle pattern: 's/software\/ssake\/releases\/([.\d]+)/\/ssake_v$1-tar.gz/' found. Skipping

Re: Help for watch file needed for ssake

2014-01-18 Thread gregor herrmann
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