<commit_before>require 'formula'

class Pygobject < Formula
  homepage 'http://live.gnome.org/PyGObject'
  url 'http://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2'
  sha1 '4eda7d2b97f495a2ad7d4cdc234d08ca5408d9d5'

  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on :python

  option :universal

  # https://bugzilla.gnome.org/show_bug.cgi?id=668522
  patch do
    url "http://git.gnome.org/browse/pygobject/patch/gio/gio-types.defs?id=42d01f060c5d764baa881d13c103d68897163a49"
    sha1 "20e39f1e0b6631ac81e0776d13f2b5403e991d0a"
  end

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-introspection"
    system "make install"
  end
end
<commit_msg>pygobject: fix patch SHA-1<commit_after>require 'formula'

class Pygobject < Formula
  homepage 'http://live.gnome.org/PyGObject'
  url 'http://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2'
  sha1 '4eda7d2b97f495a2ad7d4cdc234d08ca5408d9d5'

  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on :python

  option :universal

  # https://bugzilla.gnome.org/show_bug.cgi?id=668522
  patch do
    url "http://git.gnome.org/browse/pygobject/patch/gio/gio-types.defs?id=42d01f060c5d764baa881d13c103d68897163a49"
    sha1 "6976bbad5212ae775e6715405e0e70e592356db2"
  end

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-introspection"
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.12110523221634333, 'fraction_numerical': 0.11169900058788948, 'mean_word_length': 3.2656641604010024, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '7458721', 'n_tokens_mistral': 768, 'n_tokens_neox': 651, 'n_words': 89}