[devscripts] 01/01: uscan: Use https protocol for pypi.debian.net redirector, now that it is available.

Mattia Rizzolo mattia at mapreri.org
Tue Aug 25 12:01:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

mapreri-guest pushed a commit to branch master
in repository devscripts.

commit 66ea71a9e3860ea27995211098eb1018028a764b
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Tue Aug 25 14:48:42 2015 +0300

    uscan: Use https protocol for pypi.debian.net redirector, now that it is available.
---
 debian/changelog | 4 ++++
 scripts/uscan.pl | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3a51976..5e05cb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,10 @@ devscripts (2.15.9) UNRELEASED; urgency=medium
       been merged into buildd.debian.org and downloading from both locations
       causes duplicate downloads.  (Closes: #796506)
 
+  [ Dmitry Shachnev ]
+  * uscan: Use https protocol for pypi.debian.net redirector, now that it
+    is available.  (Closes: #796880)
+
  -- Joachim Breitner <nomeata at debian.org>  Tue, 11 Aug 2015 21:12:03 +0200
 
 devscripts (2.15.8) unstable; urgency=high
diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index bfb7211..02c6494 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -894,7 +894,7 @@ sub process_watchline ($$$$$$)
 	    $filepattern .= '(?:\?.*)?';
 	}
 	# Handle pypi.python.org addresses specially
-	$base =~ s%^https?://pypi\.python\.org/packages/source/./%http://pypi.debian.net/%;
+	$base =~ s%^https?://pypi\.python\.org/packages/source/./%https://pypi.debian.net/%;
 
 	if ($base =~ m%^(\w+://[^/]+)%) {
 	    $site = $1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list