aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-17 12:36:46 -0700
committerAdam Vandenberg2012-03-17 12:36:46 -0700
commite6eb2158c84d355b95f0a757a99e6f65e5d64ba3 (patch)
treeec656004e08de9a893117d1777ff184f5feefe49 /Library/Formula
parent4dcad695be40e97acb63143008afd362df82c3cd (diff)
downloadhomebrew-e6eb2158c84d355b95f0a757a99e6f65e5d64ba3.tar.bz2
mod_python: style nits
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mod_python.rb27
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__