From 805f8c355a821174ab6e4e60ade263fef5d3cd0e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 4 Jan 2014 13:17:21 +0000 Subject: uwsgi: cleanup python usage. --- Library/Formula/uwsgi.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3