<commit_before>class Libvirt < Formula
  desc "C virtualization API"
  homepage "https://www.libvirt.org"
  url "https://libvirt.org/sources/libvirt-5.3.0.tar.xz"
  sha256 "8564bdd506817b3957fa67e4f06b217922d30f19e416c4dc620995fd155dc101"
  head "https://github.com/libvirt/libvirt.git"

  bottle do
    sha256 "c2857fc630653905a2ab1166d4f9b63fe1e743f87907d0d1367e7b10503e79b4" => :mojave
    sha256 "28b1d89c0dd9bf520a0c72e6b8a6fa876e8a972db874a9bc45d5739b10e922da" => :high_sierra
    sha256 "69e3042b082176a77edbe734d181ac37af486da88168a07ce8ce79c24acbac38" => :sierra
  end

  depends_on "pkg-config" => :build
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "yajl"

  if build.head?
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gettext" => :build
    depends_on "libtool" => :build
    depends_on "rpcgen" => :build
  end

  def install
    args = %W[
      --prefix=#{prefix}
      --localstatedir=#{var}
      --mandir=#{man}
      --sysconfdir=#{etc}
      --with-esx
      --with-init-script=none
      --with-remote<commit_msg>libvirt 5.4.0<commit_after>class Libvirt < Formula
  desc "C virtualization API"
  homepage "https://www.libvirt.org"
  url "https://libvirt.org/sources/libvirt-5.4.0.tar.xz"
  sha256 "1cfa802081bee09fd0ddfa97bd491e6554e25fa59f7a7758b41d8aef53458e7b"
  head "https://github.com/libvirt/libvirt.git"

  bottle do
    sha256 "c2857fc630653905a2ab1166d4f9b63fe1e743f87907d0d1367e7b10503e79b4" => :mojave
    sha256 "28b1d89c0dd9bf520a0c72e6b8a6fa876e8a972db874a9bc45d5739b10e922da" => :high_sierra
    sha256 "69e3042b082176a77edbe734d181ac37af486da88168a07ce8ce79c24acbac38" => :sierra
  end

  depends_on "pkg-config" => :build
  depends_on "gnutls"
  depends_on "libgcrypt"
  depends_on "yajl"

  if build.head?
    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "gettext" => :build
    depends_on "libtool" => :build
    depends_on "rpcgen" => :build
  end

  def install
    args = %W[
      --prefix=#{prefix}
      --localstatedir=#{var}
      --mandir=#{man}
      --sysconfdir=#{etc}
      --with-esx
      --with-init-script=none
      --with-remote
{'fraction_non_alphanumeric': 0.11904761904761904, 'fraction_numerical': 0.16437728937728938, 'mean_word_length': 3.8127753303964758, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '186488', 'n_tokens_mistral': 1120, 'n_tokens_neox': 959, 'n_words': 130}