aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-05-01 21:06:26 +0100
committerMike McQuaid2014-05-06 19:34:02 +0100
commit643b8a95fbd2fa48efca5eff7b2bb762ce0d15e2 (patch)
treec46ab6175eabbcd72e812c4f97af1fb4db69634b /Library
parent9a222aff0a3ae9f8748fdfeabab7ac4fd21bea86 (diff)
downloadhomebrew-643b8a95fbd2fa48efca5eff7b2bb762ce0d15e2.tar.bz2
googlecl: don't depend on :python.
Use the system Python instead.
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"