diff options
| author | Samuel John | 2013-07-16 11:12:14 +0200 |
|---|---|---|
| committer | Samuel John | 2013-07-16 11:12:14 +0200 |
| commit | 4be7e33a1df313d9a630d26758bc1339430885e5 (patch) | |
| tree | 1185c563cf12e3b31a3b8cf78d6e815a8720fad0 /Library/Formula/libxml2.rb | |
| parent | e66faeb8a04ffd412fd1c60f055f718cf1993d38 (diff) | |
| download | homebrew-4be7e33a1df313d9a630d26758bc1339430885e5.tar.bz2 | |
Fix audit warnings for python modules
Diffstat (limited to 'Library/Formula/libxml2.rb')
| -rw-r--r-- | Library/Formula/libxml2.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/libxml2.rb b/Library/Formula/libxml2.rb index d1e69e3f4..b5bd2b513 100644 --- a/Library/Formula/libxml2.rb +++ b/Library/Formula/libxml2.rb @@ -11,7 +11,6 @@ class Libxml2 < Formula keg_only :provided_by_osx option :universal - option 'with-python', 'Build Python bindings' if build.head? depends_on :python => :recommended # satisfied by Python 2.6+ @@ -20,7 +19,7 @@ class Libxml2 < Formula depends_on :libtool else # 2.9.1 cannot build with Python 2.6: https://github.com/mxcl/homebrew/issues/20249 - depends_on PythonInstalled.new("2.7") if build.with? 'python' + depends_on :python => ["2.7", :recommended] end fails_with :llvm do @@ -71,7 +70,7 @@ class Libxml2 < Formula end end - def test + test do if build.with? 'python' system python, '-c', "import libxml2" else |
