This is an automated email from the git hooks/post-receive script. jamessan pushed a commit to branch master in repository devscripts.
commit 771c1e4f336d760680ecd91b9648a0a3fe29ec28 Author: Piotr Ożarowski <[email protected]> Date: Tue May 19 21:17:50 2015 +0200 uscan: use pypi.debian.net redirector instead of pypi.python.org Signed-off-by: James McCoy <[email protected]> --- debian/changelog | 4 ++++ scripts/uscan.pl | 3 +++ 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 24e4e33..c4b7bd0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,10 @@ devscripts (2.15.5) UNRELEASED; urgency=medium * handle LGPL as written by IBM (Closes: #587970) * handle REM style comments (Closes: #748611) + [ Piotr Ożarowski ] + * uscan: Use pypi.debian.net redirector instead of + pypi.debian.org/packages/source URLs. (Closes: #785746) + -- Cyril Brulebois <[email protected]> Tue, 28 Apr 2015 16:58:36 +0200 devscripts (2.15.4) unstable; urgency=medium diff --git a/scripts/uscan.pl b/scripts/uscan.pl index 841f8b5..441e73e 100755 --- a/scripts/uscan.pl +++ b/scripts/uscan.pl @@ -882,6 +882,9 @@ sub process_watchline ($$$$$$) $base =~ s%^http://sf\.net/%https://qa.debian.org/watch/sf.php/%; $filepattern .= '(?:\?.*)?'; } + # Handle pypi.python.org addresses specially + $base =~ s%^https?://pypi\.python\.org/packages/source/./%http://pypi.debian.net/%; + if ($base =~ m%^(\w+://[^/]+)%) { $site = $1; } else { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
