<commit_before>class Mupdf < Formula
  homepage "http://mupdf.com"
  url "http://mupdf.com/downloads/mupdf-1.6-source.tar.gz"
  sha256 "9813ee330950a641364181649ebd369c947adbcea9d41ed953ec5365640ea563"
  revision 1

  bottle do
    root_url "https://homebrew.bintray.com/bottles-x11"
    cellar :any
    sha256 "a6afbf12678464fcfe083bf8d4e63f30ae25cf0e6ffbe302f6f55ba416a237ce" => :yosemite
    sha256 "3880793f6a4855135640e57f7328770344c47c3ea5d582f6075034a4063598bf" => :mavericks
    sha256 "f1217ab12adf316067f7e85b5a82dc1790ca0fdaab7dc0be9073412da6059ace" => :mountain_lion
  end

  depends_on :macos => :snow_leopard
  depends_on :x11
  depends_on "openssl"

  conflicts_with "mupdf-tools",
    :because => "mupdf and mupdf-tools install the same binaries."

  def install
    system "make", "install",
           "build=release",
           "verbose=yes",
           "CC=#{ENV.cc}",
           "prefix=#{prefix}"
  end

  test do
    pdf = test_fixtures("test.pdf")
    assert_match /Homebrew test/, shell_output("#{bin}/mudraw -t #{pdf} 2>/dev/null")
  end
end<commit_msg>mupdf 1.7a<commit_after>class Mupdf < Formula
  homepage "http://mupdf.com"
  url "http://mupdf.com/downloads/mupdf-1.7a-source.tar.gz"
  sha256 "8c035ffa011fc44f8a488f70da3e6e51889508bbf66fe6b90a63e0cfa6c17d1c"

  bottle do
    root_url "https://homebrew.bintray.com/bottles-x11"
    cellar :any
    sha256 "a6afbf12678464fcfe083bf8d4e63f30ae25cf0e6ffbe302f6f55ba416a237ce" => :yosemite
    sha256 "3880793f6a4855135640e57f7328770344c47c3ea5d582f6075034a4063598bf" => :mavericks
    sha256 "f1217ab12adf316067f7e85b5a82dc1790ca0fdaab7dc0be9073412da6059ace" => :mountain_lion
  end

  depends_on :macos => :snow_leopard
  depends_on :x11
  depends_on "openssl"

  conflicts_with "mupdf-tools",
    :because => "mupdf and mupdf-tools install the same binaries."

  def install
    system "make", "install",
           "build=release",
           "verbose=yes",
           "CC=#{ENV.cc}",
           "prefix=#{prefix}"
  end

  test do
    pdf = test_fixtures("test.pdf")
    assert_match /Homebrew test/, shell_output("#{bin}/mudraw -F txt #{pdf}")
  end
end
{'fraction_non_alphanumeric': 0.11137108095460926, 'fraction_numerical': 0.16986429574169395, 'mean_word_length': 3.983682983682984, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6549206', 'n_tokens_mistral': 1095, 'n_tokens_neox': 909, 'n_words': 132}