diff options
| author | Mike McQuaid | 2014-05-01 21:07:44 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:02 +0100 |
| commit | 2cc073df9c96da47b8822561a604f3e1853443cf (patch) | |
| tree | f007d6391df4d52b9396c1b30b55eead3dc76a41 /Library | |
| parent | ddad2c700ae03ff9adc1511971e4ddfa4554321f (diff) | |
| download | homebrew-2cc073df9c96da47b8822561a604f3e1853443cf.tar.bz2 | |
mimms: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mimms.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/mimms.rb b/Library/Formula/mimms.rb index c5f1a67c8..9e8ca8408 100644 --- a/Library/Formula/mimms.rb +++ b/Library/Formula/mimms.rb @@ -5,7 +5,7 @@ class Mimms < Formula url 'https://launchpad.net/mimms/trunk/3.2.1/+download/mimms-3.2.1.tar.bz2' sha1 '279eee76dd4032cd2c1dddf1d49292a952c57b80' - depends_on :python + depends_on :python if MacOS.version <= :snow_leopard depends_on 'libmms' # Switch shared library loading to Mach-O naming convention (.dylib) @@ -14,6 +14,7 @@ class Mimms < Formula patch :DATA def install + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" system "python", "setup.py", "install", "--prefix=#{prefix}" bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) end |
