<commit_before>class SimpleTiles < Formula
  desc "Image generation library for spatial data"
  homepage "https://github.com/propublica/simple-tiles"
  url "https://github.com/propublica/simple-tiles/archive/v0.6.1.tar.gz"
  sha256 "2391b2f727855de28adfea9fc95d8c7cbaca63c5b86c7286990d8cbbcd640d6f"
  license "MIT"
  revision 13
  head "https://github.com/propublica/simple-tiles.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "48e029eb84db8c0642972e861d4126d52b6d2f8559a0b5009982d96cd5c3421b"
    sha256 cellar: :any,                 arm64_big_sur:  "c726bb0cf829af4804454dcf1a9de3716edc014cbf4fd48e4a04ca1a4add3391"
    sha256 cellar: :any,                 monterey:       "600e5c2296bdbba77c940bd6c98249808e2d08088a5b463ba7321b900a032fc6"
    sha256 cellar: :any,                 big_sur:        "ba02adf75ae2113df0ef2db12195e5112fc970dc761a775111534ef3f4df36f4"
    sha256 cellar: :any,                 catalina:       "e9789d691e7ccf5a336dce24ab2e5475ccf0d83fb5cdd6763591b3a85c68a743"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3f37e7e4efe2a123949a2ea3c491f3f39bc02686a5ce3dffc5add025f38a03e5"
  end

  depends_on "pkg-config" => :build
  depends_on "python@3.10" => :build
  depends_on "cairo"
  depends_on "gdal"
  depends_on "pango"

  # Apply upstream commits for waf to work with Python 3.
  patch do
    url "https://github.com/propublica/simple-tiles/commit/556b25682afab595ad467761530a34a26bee225b.patch?full_index=1"
    sha256 "410c9b82e54365ded6f06b5f72b0eb8b25ec0eb1e015f39b1b54ebfa6114aab2"
  end

  patch do
    url "https://github.com/propublica/simple-tiles/commit/2dba11101d5de7be239e07b1f31c08e18cc055a7.patch?full_index=1"
    sha256 "138365fa0c5efd3b8e92fa86bc1ce08c3802e59947dff82f003dfe8a82e5eda6"
  end<commit_msg>simple-tiles: revision bump (poppler 22.05.0)<commit_after>class SimpleTiles < Formula
  desc "Image generation library for spatial data"
  homepage "https://github.com/propublica/simple-tiles"
  url "https://github.com/propublica/simple-tiles/archive/v0.6.1.tar.gz"
  sha256 "2391b2f727855de28adfea9fc95d8c7cbaca63c5b86c7286990d8cbbcd640d6f"
  license "MIT"
  revision 14
  head "https://github.com/propublica/simple-tiles.git", branch: "master"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "48e029eb84db8c0642972e861d4126d52b6d2f8559a0b5009982d96cd5c3421b"
    sha256 cellar: :any,                 arm64_big_sur:  "c726bb0cf829af4804454dcf1a9de3716edc014cbf4fd48e4a04ca1a4add3391"
    sha256 cellar: :any,                 monterey:       "600e5c2296bdbba77c940bd6c98249808e2d08088a5b463ba7321b900a032fc6"
    sha256 cellar: :any,                 big_sur:        "ba02adf75ae2113df0ef2db12195e5112fc970dc761a775111534ef3f4df36f4"
    sha256 cellar: :any,                 catalina:       "e9789d691e7ccf5a336dce24ab2e5475ccf0d83fb5cdd6763591b3a85c68a743"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "3f37e7e4efe2a123949a2ea3c491f3f39bc02686a5ce3dffc5add025f38a03e5"
  end

  depends_on "pkg-config" => :build
  depends_on "python@3.10" => :build
  depends_on "cairo"
  depends_on "gdal"
  depends_on "pango"

  # Apply upstream commits for waf to work with Python 3.
  patch do
    url "https://github.com/propublica/simple-tiles/commit/556b25682afab595ad467761530a34a26bee225b.patch?full_index=1"
    sha256 "410c9b82e54365ded6f06b5f72b0eb8b25ec0eb1e015f39b1b54ebfa6114aab2"
  end

  patch do
    url "https://github.com/propublica/simple-tiles/commit/2dba11101d5de7be239e07b1f31c08e18cc055a7.patch?full_index=1"
    sha256 "138365fa0c5efd3b8e92fa86bc1ce08c3802e59947dff82f003dfe8a82e5eda6"
  end
{'fraction_non_alphanumeric': 0.07696536558548653, 'fraction_numerical': 0.24326553051126992, 'mean_word_length': 4.513636363636364, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, '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': '3478425', 'n_tokens_mistral': 2041, 'n_tokens_neox': 1608, 'n_words': 189}