<commit_before>class Bind < Formula
  desc "Implementation of the DNS protocols"
  homepage "https://www.isc.org/downloads/bind/"
  url "https://ftp.isc.org/isc/bind9/9.12.2/bind-9.12.2.tar.gz"
  sha256 "9f6a4c8b39a7064d447d8414a09ed667ff21adc69f17461916d8f5a45f348452"
  head "https://source.isc.org/git/bind9.git"

  bottle do
    sha256 "61bd2882271c8e1ec1f903f280daf7edccc2ff543f49fedf7837386b4f358fa5" => :high_sierra
    sha256 "64db409d00c1ca0d88a90a5dde3a126a03900fef0f77925094b5c62884e234ed" => :sierra
    sha256 "e552cbc531eb73b910c88c1e19485ad6a251594e317845a3d70f3f9da38e6b10" => :el_capitan
  end

  depends_on "openssl"
  depends_on "json-c" => :optional

  def install
    # Fix "configure: error: xml2-config returns badness"
    if MacOS.version == :sierra || MacOS.version == :el_capitan<commit_msg>bind: update 9.12.2 bottle.<commit_after>class Bind < Formula
  desc "Implementation of the DNS protocols"
  homepage "https://www.isc.org/downloads/bind/"
  url "https://ftp.isc.org/isc/bind9/9.12.2/bind-9.12.2.tar.gz"
  sha256 "9f6a4c8b39a7064d447d8414a09ed667ff21adc69f17461916d8f5a45f348452"
  head "https://source.isc.org/git/bind9.git"

  bottle do
    sha256 "804a3852c5c37313a261b015155f837a081368dee7ef389fead086ce7db3af11" => :high_sierra
    sha256 "a408a346a7ae277248692e7a8e02ccea4a25af7d97209ca077b9cca5a6418f17" => :sierra
    sha256 "3f9361cc76de0ca952c788c0e35ddc6d0f65a78b9cc9a37f4615d0436bb76e3a" => :el_capitan
  end

  depends_on "openssl"
  depends_on "json-c" => :optional

  def install
    # Fix "configure: error: xml2-config returns badness"
    if MacOS.version == :sierra || MacOS.version == :el_capitan
{'fraction_non_alphanumeric': 0.10545454545454545, 'fraction_numerical': 0.2290909090909091, 'mean_word_length': 5.137546468401487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '6387062', 'n_tokens_mistral': 928, 'n_tokens_neox': 740, 'n_words': 96}