From ba9abc0c9e06dfdbd85a92b5766f60fdf09dec4e Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 29 May 2017 02:41:36 +0100 Subject: [PATCH] gnome-doc-utils: update libxml2 dependency --- Formula/gnome-doc-utils.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Formula/gnome-doc-utils.rb b/Formula/gnome-doc-utils.rb index d0589022e1..3e610d1c12 100644 --- a/Formula/gnome-doc-utils.rb +++ b/Formula/gnome-doc-utils.rb @@ -17,7 +17,7 @@ class GnomeDocUtils < Formula depends_on :python depends_on "docbook" depends_on "gettext" - depends_on "libxml2" => "with-python" + depends_on "libxml2" def install # Find our docbook catalog @@ -32,4 +32,8 @@ class GnomeDocUtils < Formula system "make" system "make", "install" end + + test do + assert_match version.to_s, shell_output("#{bin}/gnome-doc-tool --version") + end end