<commit_before>require 'formula'

class Udns < Formula
  homepage 'http://www.corpit.ru/mjt/udns.html'
  url 'http://www.corpit.ru/mjt/udns/udns-0.2.tar.gz'
  sha1 '416da8c95283eae45f6d2e6fb055c4ef765a3f02'

  # Build target for dylib. See:
  # http://www.corpit.ru/pipermail/udns/2011q3/000154.html
  def patches
    DATA
  end

  def install
    system "./configure"
    system "make"
    system "make dylib"
<commit_msg>udns: use patch DSL<commit_after>require 'formula'

class Udns < Formula
  homepage 'http://www.corpit.ru/mjt/udns.html'
  url 'http://www.corpit.ru/mjt/udns/udns-0.2.tar.gz'
  sha1 '416da8c95283eae45f6d2e6fb055c4ef765a3f02'

  # Build target for dylib. See:
  # http://www.corpit.ru/pipermail/udns/2011q3/000154.html
  patch :DATA

  def install
    system "./configure"
    system "make"
    system "make dylib"

{'fraction_non_alphanumeric': 0.13142174432497014, 'fraction_numerical': 0.0908004778972521, 'mean_word_length': 3.3645833333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2044012', 'n_tokens_mistral': 404, 'n_tokens_neox': 354, 'n_words': 61}