<commit_before>require 'formula'

class ModPython <Formula
  url 'http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz'
  homepage 'http://www.modpython.org/'
  md5 'a3b0150176b726bd2833dac3a7837dc5'

  def caveats
    <<-EOS.undent
      To use mod_python, you must manually edit /etc/apache2/httpd.conf to load:
        #{libexec}/mod_python.so

      NOTE: mod_python is deprecated. See:
        http://blog.dscpl.com.au/2010/05/modpython-project-soon-to-be-officially.html
  
      mod_wsgi is the suggested replacement.
    EOS
  end

  def patches
    # patch-src-connobject.c.diff from MacPorts
    { :p0 => DATA }
  end<commit_msg>mod_python - fix audit warning<commit_after>require 'formula'

class ModPython <Formula
  url 'http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz'
  homepage 'http://www.modpython.org/'
  md5 'a3b0150176b726bd2833dac3a7837dc5'

  def caveats
    <<-EOS.undent
      To use mod_python, you must manually edit /etc/apache2/httpd.conf to load:
        #{libexec}/mod_python.so

      NOTE: mod_python is deprecated. See:
        http://blog.dscpl.com.au/2010/05/modpython-project-soon-to-be-officially.html

      mod_wsgi is the suggested replacement.
    EOS
  end

  def patches
    # patch-src-connobject.c.diff from MacPorts
    { :p0 => DATA }
  end
{'fraction_non_alphanumeric': 0.11413454270597127, 'fraction_numerical': 0.049886621315192746, 'mean_word_length': 2.964071856287425, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2202708', 'n_tokens_mistral': 532, 'n_tokens_neox': 484, 'n_words': 94}