Re: Help with uscan

2009-12-18 Thread Philipp Kern
On 2009-12-18, Ben Finney wrote: > Erik de Castro Lopo writes: > >> The upstream version number is 0.5.2-rc3 which is invalid for a >> non-native package > > No, it's fine for the upstream version string to contain a hyphen. See > Debian policy §5.6.12., where the hyphen is explicitly listed as o

Re: Help with uscan

2009-12-17 Thread Ben Finney
Ben Finney writes: > # Current version from Cheese Shop. > opts="uversionmangle=s/-([a-z]+\d+)$/~$1/" \ > http://zhevny.com/specimen/files/specimen-(.+).tar.gz Erm. Ignore the comment line; clearly I cut-and-paste from one of my own packages and failed to edit the comment accordi

Re: Help with uscan

2009-12-17 Thread Ben Finney
Erik de Castro Lopo writes: > The upstream version number is 0.5.2-rc3 which is invalid for a > non-native package No, it's fine for the upstream version string to contain a hyphen. See Debian policy §5.6.12., where the hyphen is explicitly listed as one of the valid characters in the upstream v

Re: Help with uscan

2009-12-17 Thread Ben Finney
Erik de Castro Lopo writes: >http://zhevny.com/specimen/files/specimen-0.5.2-rc3.tar.gz Okay. The current list at http://zhevny.com/specimen/files/> shows the following tarball files: specimen-0.5.1.1.tar.gz specimen-0.5.1.tar.gz specimen-0.5.2-rc1.tar.gz specimen-0.5.2-rc2.

Re: Help with uscan

2009-12-17 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > Hi all, > > I'm trying to write a debian/watch file for an upstream package which > has a version number 1.2.3-rc4. For the debian package I need to drop > the dash from the version number to give a debian version number of > 1.2.3rc4. > > Any clues on how to do thi

Re: Help with uscan

2009-12-17 Thread Ben Finney
Erik de Castro Lopo writes: > I'm trying to write a debian/watch file for an upstream package which > has a version number 1.2.3-rc4. For the debian package I need to drop > the dash from the version number Why do you need to drop the hyphen? A hyphen is perfectly valid in the upstream version

Re: Help with uscan

2009-12-17 Thread Erik de Castro Lopo
Ben Finney wrote: > For a start, you should replace the allows-empty match ‘(.*)’ with one > that requires at least one character ‘(.+)’. Noted. Thanks. > Can you give us the full URL so that we can test our proposals before > posting them? http://zhevny.com/specimen/files/specimen-0.5.2-rc3

Re: Help with uscan

2009-12-17 Thread Ben Finney
Erik de Castro Lopo writes: > Any clues on how to do this? If I just use: > >package-(.*).tar.gz For a start, you should replace the allows-empty match ‘(.*)’ with one that requires at least one character ‘(.+)’. That's orthogonal to the behaviour you're describing. though. > uscan complai

Re: Help with uscan

2009-12-17 Thread Ruben Molina
El vie, 18-12-2009 a las 14:14 +1100, Erik de Castro Lopo escribió: > I'm trying to write a debian/watch file for an upstream package which > has a version number 1.2.3-rc4. For the debian package I need to drop > the dash from the version number to give a debian version number of > 1.2.3rc4. Hi

Re: Help with uscan

2009-12-17 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: > uscan complains that it can't find the current version (1.2.3rc4) on > the server. I'm currently doing: version=3 opts=filenamemangle=s/-// \ http://example.com/files/ package-(.*).tar.gz Erik --