libvirt 1.2.0

Closes Homebrew/homebrew#25295.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Doug Goldstein 2013-12-16 16:22:20 -06:00 committed by Adam Vandenberg
parent e3878b53c2
commit 756e8c6e03

View file

@ -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