<commit_before>class Uptimed < Formula
  desc "Utility to track your highest uptimes"
  homepage "https://github.com/rpodgorny/uptimed/"
  url "https://github.com/rpodgorny/uptimed/archive/v0.4.3.tar.gz"
  sha256 "11add61c39cb2a50f604266104c5ceb291ab830939ed7c84659c309be1e1e715"
  license "GPL-2.0-only"

  bottle do
    sha256 cellar: :any,                 arm64_big_sur: "8efbddfdb0eef471f4d0f50a55cf791d422d918d1a4f10b68e8383f7408caa08"
    sha256 cellar: :any,                 big_sur:       "fc45435953f14fc7a182884dfa4e2672213c71675c9e73fb6a3799a140e66caa"
    sha256 cellar: :any,                 catalina:      "1e20c4955ff14a05da57be77e08e163e164e41995411c21aeaa5a5bf3919fb7c"
    sha256 cellar: :any,                 mojave:        "d5d96957debd223a243d71dc0d9858d19179c94841f6640822b1db841c0bfd48"
    sha256 cellar: :any,                 high_sierra:   "8585595184bf697772b292e123f63c97513e242c7d04194c9e1990d60fcef571"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "7ddcee77c17f262b3ec8aaa7a71472fba2b76d328ccb2d0e3aa2a2ea35ab7732"
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"

    # Per MacPorts
    inreplace "Makefile", "/var/spool/uptimed", "#{var}/uptimed"
    inreplace "libuptimed/urec.h", "/var/spool", var<commit_msg>uptimed: update 0.4.3 bottle.<commit_after>class Uptimed < Formula
  desc "Utility to track your highest uptimes"
  homepage "https://github.com/rpodgorny/uptimed/"
  url "https://github.com/rpodgorny/uptimed/archive/v0.4.3.tar.gz"
  sha256 "11add61c39cb2a50f604266104c5ceb291ab830939ed7c84659c309be1e1e715"
  license "GPL-2.0-only"

  bottle do
    rebuild 1
    sha256 cellar: :any,                 arm64_big_sur: "3bf60bc86d6e026496d8e576b5fec6bf863b6c247f73c8b168120277cd8aedac"
    sha256 cellar: :any,                 big_sur:       "692c1896e82820e296004bc510cc368221528914f93b8e178041fb06399c7473"
    sha256 cellar: :any,                 catalina:      "5549cf3cf61a32a71c6258108317d3a779aca1b23d7ac7a714cbf5db5ca233af"
    sha256 cellar: :any,                 mojave:        "8e63ad1975e1d8d36adbe624228441b07c6acbbf144e2d0a66fd76cc168b5d8b"
    sha256 cellar: :any_skip_relocation, x86_64_linux:  "84b78ecf328840104126dd6e69da148c4d5eea9b1b46a01b9b4d1fff1b189dfb"
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build

  def install
    system "./autogen.sh"
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"

    # Per MacPorts
    inreplace "Makefile", "/var/spool/uptimed", "#{var}/uptimed"
    inreplace "libuptimed/urec.h", "/var/spool", var
{'fraction_non_alphanumeric': 0.09692253272019809, 'fraction_numerical': 0.20976299964626813, 'mean_word_length': 3.5466237942122185, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '2178591', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1184, 'n_words': 155}