<commit_before>require 'formula'

class Libgda <Formula
  url 'http://ftp.acc.umu.se/pub/GNOME/sources/libgda/4.2/libgda-4.2.5.tar.bz2'
  homepage 'http://www.gnome-db.org/'
  sha256 'b98d6063469a1ba8226d94800732544be629c55132516de741c937e8bf175f13'

  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'intltool'
  depends_on 'pkg-config'
  depends_on 'readline'
  depends_on 'libgcrypt'

  # depends_on 'sqlite'  # brew's sqlite doesn't have necessary options compiled, so skipping for now

  def install
    system "./configure", "--enable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-binreloc", "--without-java"
    system "make"
    system "make install"
  end
end<commit_msg>libgda - audit warnings and formatting<commit_after>require 'formula'

class Libgda < Formula
  url 'http://ftp.acc.umu.se/pub/GNOME/sources/libgda/4.2/libgda-4.2.5.tar.bz2'
  homepage 'http://www.gnome-db.org/'
  sha256 'b98d6063469a1ba8226d94800732544be629c55132516de741c937e8bf175f13'

  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'intltool'
  depends_on 'readline'
  depends_on 'libgcrypt'

  # brew's sqlite doesn't have necessary options compiled, so skipping as a dep for now
  # adamv: which options does it need?

  def install
    system "./configure", "--enable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-binreloc",
                          "--without-java"
    system "make"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.12890874282067646, 'fraction_numerical': 0.07275047862156987, 'mean_word_length': 3.2841530054644807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, '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': '7414665', 'n_tokens_mistral': 635, 'n_tokens_neox': 564, 'n_words': 115}