From 35cea0ba4241f92630fc979462b03a2361bb488f Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Thu, 6 Jun 2013 14:12:33 -0500 Subject: libvirt: Add python bindings (:recommended) With the new python dependency support in Homebrew, libvirt can now build Python bindings. Closes #20311. Signed-off-by: Samuel John --- Library/Formula/libvirt.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb index a9e10d50e..644946f2a 100644 --- a/Library/Formula/libvirt.rb +++ b/Library/Formula/libvirt.rb @@ -11,6 +11,7 @@ class Libvirt < Formula depends_on 'gnutls' depends_on 'libgcrypt' depends_on 'yajl' + depends_on :python => :recommended if MacOS.version == :leopard # Definitely needed on Leopard, but not on Snow Leopard. @@ -37,7 +38,8 @@ class Libvirt < Formula "--with-yajl", "--without-qemu"] - args << "--without-libvirtd" if build.include? 'without-libvirtd' + args << "--without-libvirtd" if build.without? 'libvirtd' + args << "--without-python" if build.wihtout? 'python' system "./configure", *args -- cgit v1.2.3