<commit_before>class Wxpython < Formula
  include Language::Python::Virtualenv

  desc "Python bindings for wxWidgets"
  homepage "https://www.wxpython.org/"
  url "https://files.pythonhosted.org/packages/b0/4d/80d65c37ee60a479d338d27a2895fb15bbba27a3e6bb5b6d72bb28246e99/wxPython-4.1.1.tar.gz"
  sha256 "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528"
  license "LGPL-2.0-or-later" => { with: "WxWindows-exception-3.1" }
  revision 3

  bottle do
    sha256 cellar: :any, arm64_monterey: "2b7a373364e93be90a1ef2304a2abe3507f7cbc632dd3a0a141eba7b82788675"
    sha256 cellar: :any, arm64_big_sur:  "d8fb50086a3047b2ff39d2747903ae591a87947f0dd84174e3da2ae1eb0f0171"
    sha256 cellar: :any, monterey:       "4b352f54a4570b5fb89a29566ba638889b18be31794243285f84aceb14b7ecbb"
    sha256 cellar: :any, big_sur:        "40e9e6c3cfe094b254d55e69e89ed38e8b48437efb49a641dc17ac2bbddf0df9"
    sha256 cellar: :any, catalina:       "67183e7560f2add598527db7eb0d30d4f4fe6e82b07db59bedd1cadeaedd1693"
    sha256 cellar: :any, mojave:         "8e06cb7727b4dd39b3ebd93f6691aa8147a1ee0fef47cdbfbece77d203f411f4"
  end

  depends_on "freetype"
  depends_on "jpeg-turbo"
  depends_on "libpng"
  depends_on "libtiff"
  depends_on "numpy"
  depends_on "pillow"
  # The current stable release 4.1.1 is incompatible with Python 3.10.
  # Requires backporting multiple upstream commits (e.g. PR 2026, 2039, 2062, ...)
  # TODO: Update to `python@3.10` on next release.
  # Ref: https://src.fedoraproject.org/rpms/python-wxpython4/commits/
  depends_on "python@3.9"
  depends_on "six"
  depends_on "tcl-tk"

  uses_from_macos "zlib"

  on_linux do
    depends_on "pkg-config" => :build
    depends_on "gtk+3"
  end

  def install
    # Work around error: [Errno 2] No such file or directory: 'brew'
    # Try removing in the next release.
    ENV["SETUPTOOLS_USE_DISTUTILS"] = "stdlib"
<commit_msg>wxpython: update 4.1.1_3 bottle.<commit_after>class Wxpython < Formula
  include Language::Python::Virtualenv

  desc "Python bindings for wxWidgets"
  homepage "https://www.wxpython.org/"
  url "https://files.pythonhosted.org/packages/b0/4d/80d65c37ee60a479d338d27a2895fb15bbba27a3e6bb5b6d72bb28246e99/wxPython-4.1.1.tar.gz"
  sha256 "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528"
  license "LGPL-2.0-or-later" => { with: "WxWindows-exception-3.1" }
  revision 3

  bottle do
    sha256 cellar: :any, arm64_monterey: "7b558516617be5aa563cf1250276eea3eda660e19bdf8bf66417aa55215992ea"
    sha256 cellar: :any, arm64_big_sur:  "89af5734fee0d433fff77e1cb39f4beaea35fc17518ca0dc99881c892518f0b4"
    sha256 cellar: :any, monterey:       "25ed4d082bf30adc0cdd9652f1866702345ae422d69329e0e3a683522d5a5d9d"
    sha256 cellar: :any, big_sur:        "cf40f9fb59df2b8ea5712b1bf4e1891694c144a010a7b119a6df24f39b46c8a3"
    sha256 cellar: :any, catalina:       "363cff6b220e1d12e1075e3dfbb580eab83c0fea65f3c4f398d2d6eba80c5145"
  end

  depends_on "freetype"
  depends_on "jpeg-turbo"
  depends_on "libpng"
  depends_on "libtiff"
  depends_on "numpy"
  depends_on "pillow"
  # The current stable release 4.1.1 is incompatible with Python 3.10.
  # Requires backporting multiple upstream commits (e.g. PR 2026, 2039, 2062, ...)
  # TODO: Update to `python@3.10` on next release.
  # Ref: https://src.fedoraproject.org/rpms/python-wxpython4/commits/
  depends_on "python@3.9"
  depends_on "six"
  depends_on "tcl-tk"

  uses_from_macos "zlib"

  on_linux do
    depends_on "pkg-config" => :build
    depends_on "gtk+3"
  end

  def install
    # Work around error: [Errno 2] No such file or directory: 'brew'
    # Try removing in the next release.
    ENV["SETUPTOOLS_USE_DISTUTILS"] = "stdlib"

{'fraction_non_alphanumeric': 0.09309878213802436, 'fraction_numerical': 0.19079837618403248, 'mean_word_length': 4.739130434782608, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '1831624', 'n_tokens_mistral': 1990, 'n_tokens_neox': 1632, 'n_words': 264}