Re: uscan download URL mangling
Michal Čihař wrote, Monday, April 07, 2008 11:16 AM I currently have following, but it does not seem to work and the #md5= is not removed. opts=downloadurlmangle=s/#.*// \ http://pypi.python.org/simple/python-mpd/ \ http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*)\.tar\.gz#.* downloadurlmangle affects the URL that uscan downloads, not the filename that the result is saved under; for the latter you want filenamemangle: opts=filenamemangle=s/^.*(python-mpd-.*?\.tar\.gz)#.*$/$1/ \ http://pypi.python.org/simple/python-mpd/ \ http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*?)\.tar\.gz#.* There may be a better solution, but the above does work. Regards, Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: uscan download URL mangling
Hi On Mon, 7 Apr 2008 12:15:23 +0100 Adam D. Barratt [EMAIL PROTECTED] wrote: downloadurlmangle affects the URL that uscan downloads, not the filename that the result is saved under; for the latter you want filenamemangle: opts=filenamemangle=s/^.*(python-mpd-.*?\.tar\.gz)#.*$/$1/ \ http://pypi.python.org/simple/python-mpd/ \ http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*?)\.tar\.gz#.* Thanks, I just thought that downloadurlmangle will affect both download url and resulting filename. -- Michal Čihař | http://cihar.com | http://blog.cihar.com signature.asc Description: PGP signature
Re: uscan download URL mangling
Hi, opts=filenamemangle=s/^.*(python-mpd-.*?\.tar\.gz)#.*$/$1/ \ http://pypi.python.org/simple/python-mpd/ \ http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*?)\.tar\.gz#.* Thanks, I just thought that downloadurlmangle will affect both download url and resulting filename. There is a much simpler way: http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*)\.tar\.gz I've committed that url in the repository. Cheers, Sandro -- Sandro Tosi (aka morph, Morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: uscan download URL mangling
Dne Mon, 7 Apr 2008 18:32:36 +0200 Sandro Tosi [EMAIL PROTECTED] napsal(a): There is a much simpler way: http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*)\.tar\.gz I've committed that url in the repository. Thanks, I thought this won't work, so I even did no try it ;-). -- Michal Čihař | http://cihar.com | http://blog.cihar.com signature.asc Description: PGP signature