Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/files/
Date: Thu, 14 May 2020 22:19:51
Message-Id: 1589494768.3337a7e797eece0249d3549e0dda293371139442.bman@gentoo
1 commit: 3337a7e797eece0249d3549e0dda293371139442
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Mar 30 16:20:28 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu May 14 22:19:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3337a7e7
7
8 dev-python/pip: remove unused patch
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 .../pip/files/pip-19.3.1-disable-system-install.patch | 17 -----------------
15 1 file changed, 17 deletions(-)
16
17 diff --git a/dev-python/pip/files/pip-19.3.1-disable-system-install.patch b/dev-python/pip/files/pip-19.3.1-disable-system-install.patch
18 deleted file mode 100644
19 index 70583957bd7..00000000000
20 --- a/dev-python/pip/files/pip-19.3.1-disable-system-install.patch
21 +++ /dev/null
22 @@ -1,17 +0,0 @@
23 -install: Raise an error to avoid breaking python-exec
24 -
25 -Running pip without --target, --root, or --user will result in packages
26 -being installed systemwide. This has a tendency to break python-exec if
27 -setuptools gets installed or upgraded.
28 -
29 ---- pip-19.1/src/pip/_internal/commands/install.py
30 -+++ pip-19.1/src/pip/_internal/commands/install.py
31 -@@ -246,6 +246,9 @@ class InstallCommand(RequirementCommand):
32 - if options.upgrade:
33 - upgrade_strategy = options.upgrade_strategy
34 -
35 -+ if not any((options.use_user_site, options.target_dir, options.root_path, options.prefix_path)):
36 -+ raise CommandError("(Gentoo) Please run pip with the --user option to avoid breaking python-exec")
37 -+
38 - if options.build_dir:
39 - options.build_dir = os.path.abspath(options.build_dir)