<commit_before>class Cgns < Formula
  desc "CFD General Notation System"
  homepage "http://cgns.org/"
  url "https://github.com/CGNS/CGNS/archive/v4.2.0.tar.gz"
  sha256 "090ec6cb0916d90c16790183fc7c2bd2bd7e9a5e3764b36c8196ba37bf1dc817"
  license "BSD-3-Clause"
  revision 1
  head "https://github.com/CGNS/CGNS.git"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 arm64_big_sur: "f9567a6308f239dd3d6d705caea7481e6e5d07a00c00f4b4d2afe210bb423865"
    sha256 big_sur:       "eeaaba2013f485bd7bdc9e229143c548b0116a6f9875f7b51994c137bcefb504"
    sha256 catalina:      "a9fe78346df744b791501adcc4e056d637614919f149da1c70190e216825df12"
    sha256 mojave:        "3be7b41175c8a5187b3eb20b4082b0987081e4b4848ee692e9093ece232ac344"
  end

  depends_on "cmake" => :build
  depends_on "gcc"
  depends_on "hdf5"
  depends_on "szip"

  uses_from_macos "zlib"

  def install
    args = std_cmake_args + %w[
      -DCGNS_ENABLE_64BIT=YES
      -DCGNS_ENABLE_FORTRAN=YES
      -DCGNS_ENABLE_HDF5=YES
    ]

    mkdir "build" do
      system "cmake", "..", *args
      system "make"<commit_msg>cgns: update 4.2.0_1 bottle.<commit_after>class Cgns < Formula
  desc "CFD General Notation System"
  homepage "http://cgns.org/"
  url "https://github.com/CGNS/CGNS/archive/v4.2.0.tar.gz"
  sha256 "090ec6cb0916d90c16790183fc7c2bd2bd7e9a5e3764b36c8196ba37bf1dc817"
  license "BSD-3-Clause"
  revision 1
  head "https://github.com/CGNS/CGNS.git"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d+)+)$/i)
  end

  bottle do
    sha256 arm64_big_sur: "990a1aa3109f6738e6f35317bbbea723281d1c1ac4ca79ad59eee7c6e86f7ab2"
    sha256 big_sur:       "ea9d83f6f0d4385054814f42152993db58582e7acd5dbde4b667aa5c7242207d"
    sha256 catalina:      "517dfe99a307d2f4d96aa4931707596a6862bcd30b64a798375bcd7ec40cc232"
    sha256 mojave:        "ee6e9edeb0e1b7d7b630501dd2e76091354a05e0f31c2850ca2288ed159445ce"
  end

  depends_on "cmake" => :build
  depends_on "gcc"
  depends_on "hdf5"
  depends_on "szip"

  uses_from_macos "zlib"

  def install
    args = std_cmake_args + %w[
      -DCGNS_ENABLE_64BIT=YES
      -DCGNS_ENABLE_FORTRAN=YES
      -DCGNS_ENABLE_HDF5=YES
    ]

    mkdir "build" do
      system "cmake", "..", *args
      system "make"
{'fraction_non_alphanumeric': 0.10030796304443466, 'fraction_numerical': 0.2045754509458865, 'mean_word_length': 3.8486140724946694, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5125208', 'n_tokens_mistral': 1289, 'n_tokens_neox': 1055, 'n_words': 138}