diff options
| author | Mike McQuaid | 2014-01-04 13:17:21 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:48 +0000 | 
| commit | 805f8c355a821174ab6e4e60ade263fef5d3cd0e (patch) | |
| tree | 1bc6fdaf355646e5f8c1e93154267f588e03a7b2 /Library | |
| parent | 7271d7613b33cc6a5cb6a2a5213096e39c6e3e27 (diff) | |
| download | homebrew-805f8c355a821174ab6e4e60ade263fef5d3cd0e.tar.bz2 | |
uwsgi: cleanup python usage.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/uwsgi.rb | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/Library/Formula/uwsgi.rb b/Library/Formula/uwsgi.rb index 97972d515..e32c1394a 100644 --- a/Library/Formula/uwsgi.rb +++ b/Library/Formula/uwsgi.rb @@ -5,16 +5,13 @@ class Uwsgi < Formula    url 'http://projects.unbit.it/downloads/uwsgi-1.9.18.2.tar.gz'    sha1 '613328a2da84a7eb3b6f01f892833f2ef8e591ca' -  depends_on :python    depends_on 'pcre'    depends_on 'libyaml'    def install -    python do -      %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" } +    %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" } -      system python, "uwsgiconfig.py", "--build" -      bin.install "uwsgi" -    end +    system "python", "uwsgiconfig.py", "--build" +    bin.install "uwsgi"    end  end  | 
