diff options
| author | Mike McQuaid | 2014-01-04 13:16:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:47 +0000 |
| commit | d11a216fbe4b03a11b2dcd93993a68b292af3aa6 (patch) | |
| tree | 56b425c445283875e73d0f6f29505c26cbd7f954 /Library/Formula | |
| parent | 3b11c8b96a39d7c7453f2cf1c636aa8740b389ab (diff) | |
| download | homebrew-d11a216fbe4b03a11b2dcd93993a68b292af3aa6.tar.bz2 | |
subversion: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/subversion.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index 5b911b35a..68a868ffb 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -34,7 +34,7 @@ class Subversion < Formula depends_on :libtool # Bindings require swig - depends_on 'swig' if build.include? 'perl' or build.include? 'python' or build.include? 'ruby' + depends_on 'swig' if build.include? 'perl' or build.with? 'python' or build.include? 'ruby' # For Serf depends_on 'scons' => :build @@ -149,7 +149,7 @@ class Subversion < Formula system "make tools" system "make install-tools" - python do + if build.with? 'python' system "make swig-py" system "make install-swig-py" end @@ -205,8 +205,6 @@ class Subversion < Formula #{opt_prefix}/libexec EOS - s += python.standard_caveats if python - if build.include? 'perl' s += <<-EOS.undent |
