<commit_before>class Libmatio < Formula
  desc "C library for reading and writing MATLAB MAT files"
  homepage "https://matio.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/matio/matio/1.5.10/matio-1.5.10.tar.gz"
  sha256 "41209918cebd8cc87a4aa815fed553610911be558f027aee54af8b599c78b501"

  bottle do
    cellar :any
    sha256 "65febf628ca9bd6a04f060f8279d5abd568daf9e1b17ec84dbfa8ee3825d7fff" => :sierra
    sha256 "3062b7b996e230517d31621c97815f83e9b0adce3adc466c88a68caa9878479f" => :el_capitan
    sha256 "0a42d84e71a5a47036b6e7fa6ae1dccc6fc1d5ec9bfb8c696e162192a2c9605e" => :yosemite
  end

  option "with-hdf5", "Enable support for newer MAT files that use the HDF5-format"

  depends_on "hdf5" => :optional

  # sample MATLAB file from http://web.uvic.ca/~monahana/eos225/matlab_tutorial/tutorial_5/working_with_data.html
  resource "test_mat_file" do
    url "http://web.uvic.ca/~monahana/eos225/poc_data.mat.sfx"
    sha256 "a29df222605476dcfa660597a7805176d7cb6e6c60413a3e487b62b6dbf8e6fe"
  end

  def install
    args = %W[
      --prefix=#{prefix}
      --with-zlib=/usr
      --enable-extended-sparse=yes
    ]

    if build.with? "hdf5"
      args << "--with-hdf5=#{HOMEBREW_PREFIX}" << "--enable-mat73=yes"
    else
      args << "--with-hdf5=no"<commit_msg>libmatio: update 1.5.10 bottle for Linuxbrew.<commit_after>class Libmatio < Formula
  desc "C library for reading and writing MATLAB MAT files"
  homepage "https://matio.sourceforge.io/"
  url "https://downloads.sourceforge.net/project/matio/matio/1.5.10/matio-1.5.10.tar.gz"
  sha256 "41209918cebd8cc87a4aa815fed553610911be558f027aee54af8b599c78b501"

  bottle do
    cellar :any
    sha256 "65febf628ca9bd6a04f060f8279d5abd568daf9e1b17ec84dbfa8ee3825d7fff" => :sierra
    sha256 "3062b7b996e230517d31621c97815f83e9b0adce3adc466c88a68caa9878479f" => :el_capitan
    sha256 "0a42d84e71a5a47036b6e7fa6ae1dccc6fc1d5ec9bfb8c696e162192a2c9605e" => :yosemite
    sha256 "177f242f7d4647e523081e52709cf559569f944fd0ef400f2a8a48d82c8c9296" => :x86_64_linux
  end

  option "with-hdf5", "Enable support for newer MAT files that use the HDF5-format"

  depends_on "hdf5" => :optional

  # sample MATLAB file from http://web.uvic.ca/~monahana/eos225/matlab_tutorial/tutorial_5/working_with_data.html
  resource "test_mat_file" do
    url "http://web.uvic.ca/~monahana/eos225/poc_data.mat.sfx"
    sha256 "a29df222605476dcfa660597a7805176d7cb6e6c60413a3e487b62b6dbf8e6fe"
  end

  def install
    args = %W[
      --prefix=#{prefix}
      --with-zlib=/usr
      --enable-extended-sparse=yes
    ]

    if build.with? "hdf5"
      args << "--with-hdf5=#{HOMEBREW_PREFIX}" << "--enable-mat73=yes"
    else
      args << "--with-hdf5=no"
{'fraction_non_alphanumeric': 0.10931174089068826, 'fraction_numerical': 0.1910195068089805, 'mean_word_length': 4.2776699029126215, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3039647', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1188, 'n_words': 161}