aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/googlecl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/googlecl.rb b/Library/Formula/googlecl.rb
index 043dc6506..887307039 100644
--- a/Library/Formula/googlecl.rb
+++ b/Library/Formula/googlecl.rb
@@ -5,11 +5,12 @@ class Googlecl < Formula
url 'https://googlecl.googlecode.com/files/googlecl-0.9.14.tar.gz'
sha1 '810b2426e2c5e5292e507837ea425e66f4949a1d'
- depends_on :python
+ depends_on :python if MacOS.version <= :snow_leopard
conflicts_with 'osxutils', :because => 'both install a google binary'
def install
+ ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
system "python", "setup.py", "install",
"--prefix=#{prefix}", "--single-version-externally-managed",
"--record=installed.txt"