diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-03-30 18:20:28 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-05-14 18:19:28 -0400 |
commit | 3337a7e797eece0249d3549e0dda293371139442 (patch) | |
tree | e96f45cee87ae4db441c92c3af914a3206dd8cda /dev-python/pip | |
parent | dev-python/paste: remove unused patch(es) (diff) | |
download | gentoo-3337a7e797eece0249d3549e0dda293371139442.tar.gz gentoo-3337a7e797eece0249d3549e0dda293371139442.tar.bz2 gentoo-3337a7e797eece0249d3549e0dda293371139442.zip |
dev-python/pip: remove unused patch
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-python/pip')
-rw-r--r-- | dev-python/pip/files/pip-19.3.1-disable-system-install.patch | 17 |
1 files changed, 0 insertions, 17 deletions
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 deleted file mode 100644 index 70583957bd74..000000000000 --- a/dev-python/pip/files/pip-19.3.1-disable-system-install.patch +++ /dev/null @@ -1,17 +0,0 @@ -install: Raise an error to avoid breaking python-exec - -Running pip without --target, --root, or --user will result in packages -being installed systemwide. This has a tendency to break python-exec if -setuptools gets installed or upgraded. - ---- pip-19.1/src/pip/_internal/commands/install.py -+++ pip-19.1/src/pip/_internal/commands/install.py -@@ -246,6 +246,9 @@ class InstallCommand(RequirementCommand): - if options.upgrade: - upgrade_strategy = options.upgrade_strategy - -+ if not any((options.use_user_site, options.target_dir, options.root_path, options.prefix_path)): -+ raise CommandError("(Gentoo) Please run pip with the --user option to avoid breaking python-exec") -+ - if options.build_dir: - options.build_dir = os.path.abspath(options.build_dir) |