summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-11-20 19:59:00 +0100
committerSebastian Pipping <sping@gentoo.org>2016-11-20 20:00:36 +0100
commit80904f6d9d0109daf6f656cd450edfda4b8de402 (patch)
tree3bbfe39b4481b11ba79096eb066202510f652e0b /dev-python/pip/files
parentnet-analyzer/ntopng: Patch to use CC/CXX variables (diff)
downloadgentoo-80904f6d9d0109daf6f656cd450edfda4b8de402.tar.gz
gentoo-80904f6d9d0109daf6f656cd450edfda4b8de402.tar.bz2
gentoo-80904f6d9d0109daf6f656cd450edfda4b8de402.zip
dev-python/pip: 9.0.1 (bug #590828)
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/pip/files')
-rw-r--r--dev-python/pip/files/pip-9.0.1-disable-version-check.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pip/files/pip-9.0.1-disable-version-check.patch b/dev-python/pip/files/pip-9.0.1-disable-version-check.patch
new file mode 100644
index 000000000000..7334380c1e1d
--- /dev/null
+++ b/dev-python/pip/files/pip-9.0.1-disable-version-check.patch
@@ -0,0 +1,32 @@
+From 890a1c26018752f2c57c7800968e4b8d1e0987f9 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sun, 20 Nov 2016 19:52:40 +0100
+Subject: [PATCH] Stop checking for new versions
+
+---
+ pip/basecommand.py | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+diff --git a/pip/basecommand.py b/pip/basecommand.py
+index 54c6706..3cffe86 100644
+--- a/pip/basecommand.py
++++ b/pip/basecommand.py
+@@ -241,15 +241,6 @@ class Command(object):
+ logger.critical('Exception:', exc_info=True)
+
+ return UNKNOWN_ERROR
+- finally:
+- # Check if we're using the latest version of pip available
+- if (not options.disable_pip_version_check and not
+- getattr(options, "no_index", False)):
+- with self._build_session(
+- options,
+- retries=0,
+- timeout=min(5, options.timeout)) as session:
+- pip_version_check(session)
+
+ return SUCCESS
+
+--
+2.10.2
+