libxml2: python bindings optional for OS X 10.6

This commit is contained in:
Samuel John 2013-07-16 11:22:44 +02:00
parent d0f836e20c
commit 43df48c090

View file

@ -19,7 +19,11 @@ 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 :python => ["2.7", :recommended]
if MacOS.version <= :snow_leopard
depends_on :python => ["2.7", :optional]
else
depends_on :python => ["2.7", :recommended]
end
end
fails_with :llvm do