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 <dominyktiller@gmail.com>
This commit is contained in:
Zhiming Wang 2016-08-06 23:24:49 +08:00 committed by Dominyk Tiller
parent c9116af49a
commit 9dcaeabb86

View file

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