<commit_before>class Py2cairo < Formula
  desc "Python 2 bindings for the Cairo graphics library"
  homepage "https://cairographics.org/pycairo/"
  url "https://github.com/pygobject/pycairo/releases/download/v1.15.6/pycairo-1.15.6.tar.gz"
  sha256 "ad150ea637860836b66705e0513b8e59494538f0b80497ad3462051368755016"

  bottle do
    cellar :any
    sha256 "0b144ea0217a4323ebdd4c6193f05032a4b9acaa5be1c5ef5228c4b97347142c" => :high_sierra
    sha256 "cfb94dc8dee31783cddfc668b1a15992ec064faba8d7793673b36ebf74ac328f" => :sierra
    sha256 "c8cb8682772e1ad9ee160e6b80b8452b6a07664eb9fd570c7ed174ff62df3326" => :el_capitan
  end

  depends_on "pkg-config" => :build
  depends_on "cairo"
  depends_on "python" if MacOS.version <= :snow_leopard

  def install
    system "python", *Language::Python.setup_install_args(prefix)
  end

  test do
    system "python", "-c", "import cairo; print(cairo.version)"
  end
end
<commit_msg>py2cairo 1.16.0<commit_after>class Py2cairo < Formula
  desc "Python 2 bindings for the Cairo graphics library"
  homepage "https://cairographics.org/pycairo/"
  url "https://github.com/pygobject/pycairo/releases/download/v1.16.0/pycairo-1.16.0.tar.gz"
  sha256 "ac74772da9dff50b72f217d5383e4fd2d47782f91d1d513fb755841e95ba5604"

  bottle do
    cellar :any
    sha256 "0b144ea0217a4323ebdd4c6193f05032a4b9acaa5be1c5ef5228c4b97347142c" => :high_sierra
    sha256 "cfb94dc8dee31783cddfc668b1a15992ec064faba8d7793673b36ebf74ac328f" => :sierra
    sha256 "c8cb8682772e1ad9ee160e6b80b8452b6a07664eb9fd570c7ed174ff62df3326" => :el_capitan
  end

  depends_on "pkg-config" => :build
  depends_on "cairo"
  depends_on "python" if MacOS.version <= :snow_leopard

  def install
    system "python", *Language::Python.setup_install_args(prefix)
  end

  test do
    system "python", "-c", "import cairo; print(cairo.version)"
  end
end

{'fraction_non_alphanumeric': 0.09513513513513513, 'fraction_numerical': 0.20162162162162162, 'mean_word_length': 5.339041095890411, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '6771256', 'n_tokens_mistral': 988, 'n_tokens_neox': 792, 'n_words': 117}