<commit_before>class SpidermonkeyAT78 < Formula
  desc "JavaScript-C Engine"
  homepage "https://spidermonkey.dev"
  url "https://archive.mozilla.org/pub/firefox/releases/78.15.0esr/source/firefox-78.15.0esr.source.tar.xz"
  version "78.15.0"
  sha256 "a4438d84d95171a6d4fea9c9f02c2edbf0475a9c614d968ebe2eedc25a672151"
  license "MPL-2.0"

  bottle do
    sha256 cellar: :any,                 monterey:     "0c2c93d407197f7cdb8606682cd3c0b3e6216a5f7b9ea300c697aac9564481e2"
    sha256 cellar: :any,                 big_sur:      "caa0c1a936d04a4dc31106dfd6b483fe9b245abebcf1f18c56adec7210b384f2"
    sha256 cellar: :any,                 catalina:     "3f417ef0808366725734977fcaae80010c5cbe29b3954fd178056cb2dc952fbc"
    sha256 cellar: :any_skip_relocation, x86_64_linux: "4b9188b778310a6365e4b879cc94b593ab6b3eb4fc879eed813f9001eb252ec2"
  end

  depends_on "autoconf@2.13" => :build
  depends_on "pkg-config" => :build
  depends_on "python@3.9" => :build
  depends_on "rust" => :build
  depends_on arch: :x86_64 # ld: unknown/unsupported architecture name for: -arch armv4t
  depends_on "icu4c"
  depends_on "nspr"
  depends_on "readline"

  uses_from_macos "llvm" => :build # for llvm-objdump
  uses_from_macos "zlib"

  on_linux do
    depends_on "gcc"
  end

  # From python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py<commit_msg>spidermonkey@78: deprecate<commit_after>class SpidermonkeyAT78 < Formula
  desc "JavaScript-C Engine"
  homepage "https://spidermonkey.dev"
  url "https://archive.mozilla.org/pub/firefox/releases/78.15.0esr/source/firefox-78.15.0esr.source.tar.xz"
  version "78.15.0"
  sha256 "a4438d84d95171a6d4fea9c9f02c2edbf0475a9c614d968ebe2eedc25a672151"
  license "MPL-2.0"

  bottle do
    sha256 cellar: :any,                 monterey:     "0c2c93d407197f7cdb8606682cd3c0b3e6216a5f7b9ea300c697aac9564481e2"
    sha256 cellar: :any,                 big_sur:      "caa0c1a936d04a4dc31106dfd6b483fe9b245abebcf1f18c56adec7210b384f2"
    sha256 cellar: :any,                 catalina:     "3f417ef0808366725734977fcaae80010c5cbe29b3954fd178056cb2dc952fbc"
    sha256 cellar: :any_skip_relocation, x86_64_linux: "4b9188b778310a6365e4b879cc94b593ab6b3eb4fc879eed813f9001eb252ec2"
  end

  deprecate! date: "2022-04-02", because: :unsupported

  depends_on "autoconf@2.13" => :build
  depends_on "pkg-config" => :build
  depends_on "python@3.9" => :build
  depends_on "rust" => :build
  depends_on arch: :x86_64 # ld: unknown/unsupported architecture name for: -arch armv4t
  depends_on "icu4c"
  depends_on "nspr"
  depends_on "readline"

  uses_from_macos "llvm" => :build # for llvm-objdump
  uses_from_macos "zlib"

  on_linux do
    depends_on "gcc"
  end

  # From python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
{'fraction_non_alphanumeric': 0.09333333333333334, 'fraction_numerical': 0.1809009009009009, 'mean_word_length': 4.318007662835249, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 4, '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': '7526358', 'n_tokens_mistral': 1448, 'n_tokens_neox': 1198, 'n_words': 167}