<commit_before>class Nccmp < Formula
  desc "Compare two NetCDF files bitwise, semantically or with a tolerance."
  homepage "https://nccmp.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/nccmp/nccmp-1.8.2.1.tar.gz"
  sha256 "5bbde05f402aa909480436247165eb0c3681bc53e931b6342af808fd59636c8b"

  bottle do
    sha256 "ff42c7a848d0c4a672ccee9cd39a5b337160c1f44ae8d5e097a4c0027dad9aca" => :high_sierra
    sha256 "30481fe58855ffd99b4448474338540a87368eb6017ade6adf36ecb49c5177ba" => :sierra
    sha256 "47e04c0afd5d78ae2c6758edf7f460b85805fdf510c3d701d17b350fd6c7a123" => :el_capitan
  end

  depends_on "netcdf"

  def install
    chmod 0555, "install-sh"

    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "check"
    system "make", "install"
  end

  test do
    (testpath/"test.cdl").write("netcdf {}")
    system "ncgen", "-o", testpath/"test1.nc", testpath/"test.cdl"<commit_msg>nccmp: add 1.8.2.1 bottle for Linuxbrew.<commit_after>class Nccmp < Formula
  desc "Compare two NetCDF files bitwise, semantically or with a tolerance."
  homepage "https://nccmp.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/nccmp/nccmp-1.8.2.1.tar.gz"
  sha256 "5bbde05f402aa909480436247165eb0c3681bc53e931b6342af808fd59636c8b"

  bottle do
    sha256 "ff42c7a848d0c4a672ccee9cd39a5b337160c1f44ae8d5e097a4c0027dad9aca" => :high_sierra
    sha256 "30481fe58855ffd99b4448474338540a87368eb6017ade6adf36ecb49c5177ba" => :sierra
    sha256 "47e04c0afd5d78ae2c6758edf7f460b85805fdf510c3d701d17b350fd6c7a123" => :el_capitan
    sha256 "5e7567c24e03cb465c9af9fea0499f5a939115126d5b5b227e8e025a043737d5" => :x86_64_linux
  end

  depends_on "netcdf"

  def install
    chmod 0555, "install-sh"

    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "check"
    system "make", "install"
  end

  test do
    (testpath/"test.cdl").write("netcdf {}")
    system "ncgen", "-o", testpath/"test1.nc", testpath/"test.cdl"
{'fraction_non_alphanumeric': 0.11573236889692586, 'fraction_numerical': 0.18942133815551537, 'mean_word_length': 3.79004329004329, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '1473648', 'n_tokens_mistral': 1130, 'n_tokens_neox': 906, 'n_words': 129}