diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mod_python.rb | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/Library/Formula/mod_python.rb b/Library/Formula/mod_python.rb index 3c3bb9cbf..2ff58ec6c 100644 --- a/Library/Formula/mod_python.rb +++ b/Library/Formula/mod_python.rb @@ -1,24 +1,12 @@ require 'formula' class ModPython < Formula - url 'http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz' homepage 'http://www.modpython.org/' + url 'http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz' 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 - + # patch-src-connobject.c.diff from MacPorts def patches - # patch-src-connobject.c.diff from MacPorts { :p0 => DATA } end @@ -40,6 +28,17 @@ class ModPython < Formula system "make" system "make install" end + + 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 end __END__ |
