[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

uscan download URL mangling



Hi

I'm trying to construct watch file for python-mpd. It can be downloaded
here: http://pypi.python.org/simple/python-mpd/, but the download URL
contains #md5=... part, which I would like to be removed when uscan
downloads the tarball. Is there some way to do this?

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#.*

Any ideas how to make this?

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature


Reply to: