Bug#776267: lintian: Add check for unsupported PyPI URL in debian/watch
Hi!
Having recently tried to write a d/watch file for pypi, I'd suggest that the 
redirector service is a much better thing to recommend -- pypi.debian.net 
works very nicely.
Compare:
    http://pypi.debian.net/foo/foo-(.*).tar.gz
with the suggested
    opts="filenamemangle=s/\S+\/([^\/]+\.tar\.gz)#md5=[[:alnum:]]+$/$1/" \
        https://pypi.python.org/simple/pip/ \
        \S+/pip-(\S+)\.tar\.gz#md5=[[:alnum:]]+
(no-one should have to deal with that sort of unmaintainable regex)
Note that is without adding the pgp signature finding options which for the 
first example is just
    opts=pgpsigurlmangle=s/$/.asc/ 
and for the second is sufficiently horrid that I shall graciously decline.
cheers
Stuart
-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
Reply to: