From 9dcaeabb862fb372dd589249d0b52ba0d65804bf Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sat, 6 Aug 2016 23:24:49 +0800 Subject: [PATCH] uchardet 0.0.6 - Project moved to freedesktop.org (see README.md at https://github.com/BYVoid/uchardet); - Test made a bit more substantial. Closes #3672. Signed-off-by: Dominyk Tiller --- Formula/uchardet.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/uchardet.rb b/Formula/uchardet.rb index 3fc2747b9a..c1869c0861 100644 --- a/Formula/uchardet.rb +++ b/Formula/uchardet.rb @@ -1,8 +1,8 @@ class Uchardet < Formula desc "Encoding detector library" - homepage "https://github.com/BYVoid/uchardet" - url "https://github.com/BYVoid/uchardet/archive/v0.0.5.tar.gz" - sha256 "7c5569c8ee1a129959347f5340655897e6a8f81ec3344de0012a243f868eabd1" + homepage "https://www.freedesktop.org/wiki/Software/uchardet/" + url "https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz" + sha256 "8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61" bottle do cellar :any @@ -21,6 +21,6 @@ class Uchardet < Formula end test do - system "#{bin}/uchardet", __FILE__ + assert_equal "ASCII", pipe_output("#{bin}/uchardet", "Homebrew").chomp end end