<commit_before>class Wxmaxima < Formula
  desc "Cross platform GUI for Maxima"
  homepage "https://wxmaxima-developers.github.io/wxmaxima/"
  url "https://github.com/wxMaxima-developers/wxmaxima/archive/Version-20.12.1.tar.gz"
  sha256 "2fc3d2d0f6c6f0cc5c6ac204ee85eff2cf0f818f5581bd028e89bde336bd06c7"
  license "GPL-2.0-or-later"
  head "https://github.com/wxMaxima-developers/wxmaxima.git"

  bottle do
    sha256 "4925e8a6be72a5be92ed7ee776d07f21a6a7eafb7b3e68fc0f3c3a81583cbf87" => :big_sur
    sha256 "1ef1358dbd163f75c658c7576107fc67f91a45518f5fd10d0eed60895d53f9fe" => :catalina
    sha256 "fe85d6b6606538c6213b47ddd2ef937fb848712f97b474518217c2cd4c9931fa" => :mojave
  end

  depends_on "cmake" => :build
  depends_on "gettext" => :build
  depends_on "ninja" => :build
  depends_on "maxima"
  depends_on "wxmac"

  def install
    mkdir "build-wxm" do
      system "cmake", "..", "-GNinja", *std_cmake_args
      system "ninja"
      system "ninja", "install"
      prefix.install "src/wxMaxima.app"
    end

    bash_completion.install "data/wxmaxima"
    bin.write_exec_script "#{prefix}/wxMaxima.app/Contents/MacOS/wxmaxima"
  end

  def caveats<commit_msg>wxmaxima: update 20.12.1 bottle.<commit_after>class Wxmaxima < Formula
  desc "Cross platform GUI for Maxima"
  homepage "https://wxmaxima-developers.github.io/wxmaxima/"
  url "https://github.com/wxMaxima-developers/wxmaxima/archive/Version-20.12.1.tar.gz"
  sha256 "2fc3d2d0f6c6f0cc5c6ac204ee85eff2cf0f818f5581bd028e89bde336bd06c7"
  license "GPL-2.0-or-later"
  head "https://github.com/wxMaxima-developers/wxmaxima.git"

  bottle do
    sha256 "e313165add19cf7f2453302d6d98453a48f4a4f249e80d5149f3c6b5559b69e4" => :big_sur
    sha256 "2ef1d767ca05d9bfdd8505c16c6fddc85512a0c9ab2f0fdfdacc5f631745d9f0" => :catalina
    sha256 "aab84e7e3ac951b2a9fecf735cc6120f5c62b457d77e842c530907fad1862c9e" => :mojave
  end

  depends_on "cmake" => :build
  depends_on "gettext" => :build
  depends_on "ninja" => :build
  depends_on "maxima"
  depends_on "wxmac"

  def install
    mkdir "build-wxm" do
      system "cmake", "..", "-GNinja", *std_cmake_args
      system "ninja"
      system "ninja", "install"
      prefix.install "src/wxMaxima.app"
    end

    bash_completion.install "data/wxmaxima"
    bin.write_exec_script "#{prefix}/wxMaxima.app/Contents/MacOS/wxmaxima"
  end

  def caveats
{'fraction_non_alphanumeric': 0.10946117946542215, 'fraction_numerical': 0.1463725074246924, 'mean_word_length': 4.522248243559719, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '6771284', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1035, 'n_words': 138}