<commit_before>class Libgweather < Formula
  desc "GNOME library for weather, locations and timezones"
  homepage "https://wiki.gnome.org/Projects/LibGWeather"
  url "https://download.gnome.org/sources/libgweather/3.16/libgweather-3.16.1.tar.xz"
  sha256 "db0955261427bb0f1a3f2747507863c591bf2f09dc477cfbf1cea0382cd34dfd"

  depends_on "pkg-config" => :build
  depends_on "intltool" => :build
  depends_on "gtk+3"
  depends_on "geocode-glib"
  depends_on "libsoup"
  depends_on "gobject-introspection"
  depends_on "vala" => :optional

  def install
    # ensures that the gobject-introspection files remain within the keg
    inreplace "libgweather/Makefile.in" do |s|
      s.gsub! "@HAVE_INTROSPECTION_TRUE@girdir = $(INTROSPECTION_GIRDIR)",<commit_msg>libgweather: add 3.16.1 bottle.<commit_after>class Libgweather < Formula
  desc "GNOME library for weather, locations and timezones"
  homepage "https://wiki.gnome.org/Projects/LibGWeather"
  url "https://download.gnome.org/sources/libgweather/3.16/libgweather-3.16.1.tar.xz"
  sha256 "db0955261427bb0f1a3f2747507863c591bf2f09dc477cfbf1cea0382cd34dfd"

  bottle do
    sha256 "ae8ac3b9b453987d4982d639532e3984d9781aa1a65e6d384501986a23c5db5a" => :yosemite
    sha256 "eeda9a8f8a73139e754ed4c8ceca03497ea4f5db97d8aca2e9c5eb0525cd2a23" => :mavericks
    sha256 "a765168f885418ede57f7ff4f9cd03b5b501bdaa673aaae0acc6f2b8cd0a48f4" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "intltool" => :build
  depends_on "gtk+3"
  depends_on "geocode-glib"
  depends_on "libsoup"
  depends_on "gobject-introspection"
  depends_on "vala" => :optional

  def install
    # ensures that the gobject-introspection files remain within the keg
    inreplace "libgweather/Makefile.in" do |s|
      s.gsub! "@HAVE_INTROSPECTION_TRUE@girdir = $(INTROSPECTION_GIRDIR)",
{'fraction_non_alphanumeric': 0.09901531728665208, 'fraction_numerical': 0.12253829321663019, 'mean_word_length': 5.372822299651568, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1052695', 'n_tokens_mistral': 869, 'n_tokens_neox': 756, 'n_words': 118}