aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-08-28 13:17:16 -0500
committerJack Nagel2013-08-28 13:18:20 -0500
commit3bbb97e9240e41d9d1ff165817527e9429fcc03c (patch)
tree8864793e423987fb6887b62c52a173a81d103f15 /Library/Formula
parent21bb9912c6654af7fcdb4392c33fe5c68f7a15ad (diff)
downloadhomebrew-3bbb97e9240e41d9d1ff165817527e9429fcc03c.tar.bz2
Don't change perms on pip and easy_install executables
Fixes #20922.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/python.rb3
-rw-r--r--Library/Formula/python3.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index f24c87dc9..f4384ae61 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -33,6 +33,9 @@ class Python < Formula
depends_on 'homebrew/dupes/tcl-tk' if build.with? 'brewed-tk'
depends_on :x11 if build.with? 'brewed-tk' and Tab.for_name('tcl-tk').used_options.include?('with-x11')
+ skip_clean 'bin/pip', 'bin/pip-2.7'
+ skip_clean 'bin/easy_install', 'bin/easy_install-2.7'
+
def patches
p = []
p << 'https://gist.github.com/paxswill/5402840/raw/75646d5860685c8be98858288d1772f64d6d5193/pythondtrace-patch.diff' if build.with? 'dtrace'
diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 34d3dd9f2..7269f828f 100644
--- a/Library/Formula/python3.rb
+++ b/Library/Formula/python3.rb
@@ -37,6 +37,9 @@ class Python3 < Formula
depends_on 'homebrew/dupes/tcl-tk' if build.with? 'brewed-tk'
depends_on :x11 if build.with? 'brewed-tk' and Tab.for_name('tcl-tk').used_options.include?('with-x11')
+ skip_clean "bin/pip3", "bin/pip-#{VER}"
+ skip_clean "bin/easy_install3", "bin/easy_install-#{VER}"
+
def patches
DATA if build.with? 'brewed-tk'
end