From 8ed8092e835bd89edcec473dd4b26cb5c542da21 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sat, 7 Feb 2015 19:31:47 +0100 Subject: moreutils 0.55 Closes #36630. Signed-off-by: Mike McQuaid --- Library/Formula/moreutils.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Library') diff --git a/Library/Formula/moreutils.rb b/Library/Formula/moreutils.rb index 7fe39d73e..d33cfe837 100644 --- a/Library/Formula/moreutils.rb +++ b/Library/Formula/moreutils.rb @@ -1,8 +1,8 @@ class Moreutils < Formula homepage "http://joeyh.name/code/moreutils/" - url "http://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.52.tar.gz" - mirror "http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.52.tar.gz" - sha1 "32047f935178b490a12c370d8f695f1273dc5895" + url "https://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.55.orig.tar.gz" + mirror "http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.55.orig.tar.gz" + sha1 "050c73067d2b5373f2652b91e75699dd79a44590" bottle do revision 2 @@ -20,7 +20,7 @@ class Moreutils < Formula :because => "both install a 'parallel' executable. See the '--without-parallel' option" end - conflicts_with 'task-spooler', + conflicts_with "task-spooler", :because => "both install a 'ts' executable." resource "Time::Duration" do @@ -62,9 +62,7 @@ class Moreutils < Formula end test do - pipe_output("#{bin}/isutf8", "hello") - assert $?.success? - pipe_output("#{bin}/isutf8", "\xca\xc0\xbd\xe7") - assert (!$?.success?) + pipe_output("#{bin}/isutf8", "hello", 0) + pipe_output("#{bin}/isutf8", "\xca\xc0\xbd\xe7", 1) end end -- cgit v1.2.3