diff options
| author | Mike McQuaid | 2014-05-01 21:07:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:03 +0100 |
| commit | bc501eac4e588fe1d590c5ad1dd8dd154c5b3ed7 (patch) | |
| tree | c95b80864d3d4a9566207f632ca1fa535d0d7683 /Library/Formula | |
| parent | 2cc073df9c96da47b8822561a604f3e1853443cf (diff) | |
| download | homebrew-bc501eac4e588fe1d590c5ad1dd8dd154c5b3ed7.tar.bz2 | |
mitmproxy: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mitmproxy.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/mitmproxy.rb b/Library/Formula/mitmproxy.rb index 4ffffa369..310cb2de1 100644 --- a/Library/Formula/mitmproxy.rb +++ b/Library/Formula/mitmproxy.rb @@ -8,7 +8,7 @@ class Mitmproxy < Formula option 'with-pyamf', 'Enable action message format (AMF) support for python' option 'with-cssutils', 'Enable beautification of CSS responses' - depends_on :python + depends_on :python if MacOS.version <= :snow_leopard depends_on 'protobuf' => :optional resource 'pyopenssl' do @@ -61,6 +61,7 @@ class Mitmproxy < Formula end def install + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages' install_args = [ "setup.py", "install", "--prefix=#{libexec}" ] |
