From e6eb2158c84d355b95f0a757a99e6f65e5d64ba3 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 17 Mar 2012 12:36:46 -0700 Subject: mod_python: style nits --- Library/Formula/mod_python.rb | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'Library') 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__ -- cgit v1.2.3