<commit_before>class Uhd < Formula
  desc "Hardware driver for all USRP devices"
  homepage "https://files.ettus.com/manual/"
  # The build system uses git to recover version information
  url "https://github.com/EttusResearch/uhd.git",
      tag:      "v4.2.0.1",
      revision: "321295fba49fb66ede365afbd9ef62971cdfbfca"
  license all_of: ["GPL-3.0-or-later", "LGPL-3.0-or-later", "MIT", "BSD-3-Clause", "Apache-2.0"]
  head "https://github.com/EttusResearch/uhd.git", branch: "master"

  livecheck do
    url :stable
    strategy :github_latest
  end

  # Linux bottle removed for GCC 12 migration
  bottle do
    sha256 arm64_monterey: "bc85f64768e494482a19797e4fc2ed1c116a374ba6dd7f30b4a33fc7db13555b"
    sha256 arm64_big_sur:  "9d0863dd30ca3234df2cd754e7eeef970c9cc0d78ee87a03458e1cd88eb85357"
    sha256 monterey:       "f721cdd00592267dad989844228c2d36df824829b80512f503456ae04913fa15"
    sha256 big_sur:        "5c2c8947a6cbc27093e2d97539ecd42a860588c4fb5595d0481a471d99916acb"
    sha256 catalina:       "9349f14593757fe6c896f6a20378471e8ba456aba766921858c2a8fb512cb028"
    sha256 x86_64_linux:   "5a3a2f4af23c41d2dca63ad6e16814adb2a4132da71bcd1f7402f25a29e2c259"
  end

  depends_on "cmake" => :build
  depends_on "doxygen" => :build
  depends_on "pkg-config" => :build
  depends_on "boost"
  depends_on "libusb"
  depends_on "python@3.9"

  fails_with gcc: "5"

  resource "Mako" do<commit_msg>uhd: revert Linux bottle removal<commit_after>class Uhd < Formula
  desc "Hardware driver for all USRP devices"
  homepage "https://files.ettus.com/manual/"
  # The build system uses git to recover version information
  url "https://github.com/EttusResearch/uhd.git",
      tag:      "v4.2.0.1",
      revision: "321295fba49fb66ede365afbd9ef62971cdfbfca"
  license all_of: ["GPL-3.0-or-later", "LGPL-3.0-or-later", "MIT", "BSD-3-Clause", "Apache-2.0"]
  head "https://github.com/EttusResearch/uhd.git", branch: "master"

  livecheck do
    url :stable
    strategy :github_latest
  end

  bottle do
    sha256 arm64_monterey: "bc85f64768e494482a19797e4fc2ed1c116a374ba6dd7f30b4a33fc7db13555b"
    sha256 arm64_big_sur:  "9d0863dd30ca3234df2cd754e7eeef970c9cc0d78ee87a03458e1cd88eb85357"
    sha256 monterey:       "f721cdd00592267dad989844228c2d36df824829b80512f503456ae04913fa15"
    sha256 big_sur:        "5c2c8947a6cbc27093e2d97539ecd42a860588c4fb5595d0481a471d99916acb"
    sha256 catalina:       "9349f14593757fe6c896f6a20378471e8ba456aba766921858c2a8fb512cb028"
    sha256 x86_64_linux:   "5a3a2f4af23c41d2dca63ad6e16814adb2a4132da71bcd1f7402f25a29e2c259"
  end

  depends_on "cmake" => :build
  depends_on "doxygen" => :build
  depends_on "pkg-config" => :build
  depends_on "boost"
  depends_on "libusb"
  depends_on "python@3.9"

  on_linux do
    depends_on "gcc"
  end

  fails_with gcc: "5"

  resource "Mako" do
{'fraction_non_alphanumeric': 0.091005291005291, 'fraction_numerical': 0.21940035273368608, 'mean_word_length': 4.6158415841584155, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2522988', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1252, 'n_words': 189}