aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/libvirt.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/Library/Formula/libvirt.rb b/Library/Formula/libvirt.rb
index 2c66de895..4cb479022 100644
--- a/Library/Formula/libvirt.rb
+++ b/Library/Formula/libvirt.rb
@@ -2,8 +2,8 @@ require 'formula'
class Libvirt < Formula
homepage 'http://www.libvirt.org'
- url 'http://libvirt.org/sources/libvirt-1.1.4.tar.gz'
- sha256 '5910f5cf607a50c606d959e6b1e5d6e67966b7aa7324982afd7f85d9c24bd98f'
+ url 'http://libvirt.org/sources/libvirt-1.2.0.tar.gz'
+ sha256 'a8e578ae7861db2ac5f454073293d2ef3229fd3f6c4f9029101763244db22ddd'
option 'without-libvirtd', 'Build only the virsh client and development libraries'
@@ -11,7 +11,6 @@ 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.
@@ -39,7 +38,6 @@ class Libvirt < Formula
"--without-qemu"]
args << "--without-libvirtd" if build.without? 'libvirtd'
- args << "--without-python" if build.without? 'python'
system "./configure", *args
@@ -61,12 +59,4 @@ class Libvirt < Formula
end
end
end
-
- test do
- python do
- # Testing to import the mod because that is a .so file where linking
- # can break.
- system python, '-c', "import libvirtmod"
- end
- end
end