<commit_before>require 'formula'

class Atdtool < Formula
  homepage 'https://github.com/lpenz/atdtool'
  url 'https://github.com/lpenz/atdtool/archive/upstream/1.3.tar.gz'
  sha1 '0e6ac49a106912f010f3cb71dec59ef5c29ad108'

  depends_on :python
  depends_on 'txt2tags' => :build

  def install
    # Change the PREFIX to match the homebrew one, since there is no way to
    # pass it as an option for now edit the Makefile
    # https://github.com/lpenz/atdtool/pull/8
    inreplace 'Makefile', "PREFIX=/usr/local", "PREFIX=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/atdtool", "#{prefix}/AUTHORS"
  end
end<commit_msg>atdtool: don't depend on :python.<commit_after>require 'formula'

class Atdtool < Formula
  homepage 'https://github.com/lpenz/atdtool'
  url 'https://github.com/lpenz/atdtool/archive/upstream/1.3.tar.gz'
  sha1 '0e6ac49a106912f010f3cb71dec59ef5c29ad108'

  depends_on 'txt2tags' => :build

  def install
    # Change the PREFIX to match the homebrew one, since there is no way to
    # pass it as an option for now edit the Makefile
    # https://github.com/lpenz/atdtool/pull/8
    inreplace 'Makefile', "PREFIX=/usr/local", "PREFIX=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/atdtool", "#{prefix}/AUTHORS"
  end
end
{'fraction_non_alphanumeric': 0.12682551883166795, 'fraction_numerical': 0.044581091468101464, 'mean_word_length': 3.786764705882353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '4778809', 'n_tokens_mistral': 512, 'n_tokens_neox': 479, 'n_words': 117}