<commit_before>require 'formula'

class Qca < Formula
  homepage 'http://delta.affinix.com/qca/'
  url 'http://delta.affinix.com/download/qca/2.0/qca-2.0.3.tar.bz2'
  sha1 '9c868b05b81dce172c41b813de4de68554154c60'

  depends_on 'qt'

  def patches
    {
    # Fix for clang adhering strictly to standard, see http://clang.llvm.org/compatibility.html#dep_lookup_bases
    # See upstream report: https://bugs.kde.org/show_bug.cgi?id=307470
    :p3 => 'http://websvn.kde.org/trunk/kdesupport/qca/src/botantools/botan/botan/secmem.h?r1=1273508&r2=1273507&pathrev=1273508&view=patch' 
    }
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-tests"
    system "make install"
  end
end<commit_msg>qca: fix audit<commit_after>require 'formula'

class Qca < Formula
  homepage 'http://delta.affinix.com/qca/'
  url 'http://delta.affinix.com/download/qca/2.0/qca-2.0.3.tar.bz2'
  sha1 '9c868b05b81dce172c41b813de4de68554154c60'

  depends_on 'qt'

  # Fix for clang adhering strictly to standard, see http://clang.llvm.org/compatibility.html#dep_lookup_bases
  # See upstream report: https://bugs.kde.org/show_bug.cgi?id=307470
  def patches
    {:p3 =>
      'http://websvn.kde.org/trunk/kdesupport/qca/src/botantools/botan/botan/secmem.h?r1=1273508&r2=1273507&pathrev=1273508&view=patch'
    }
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-tests"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.14940931202223767, 'fraction_numerical': 0.08895066018068103, 'mean_word_length': 3.8813559322033897, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4959591', 'n_tokens_mistral': 660, 'n_tokens_neox': 578, 'n_words': 85}