aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
authorMax Howell2009-08-01 19:44:16 +0100
committerMax Howell2009-08-02 01:25:01 +0100
commit82e1688028a64471bd16870354990e5618c560e5 (patch)
treed3a3b916556912e32d14d91cd61b31f0cf7a4286 /Library/Formula/python.rb
parentd209998e390f7a2a2f86a7f4cf9b91c58b31eb01 (diff)
downloadhomebrew-82e1688028a64471bd16870354990e5618c560e5.tar.bz2
Added Readline formula; updated Python formula.
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 2f70d810c..ea3da4a25 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -5,14 +5,13 @@ class Python <Formula
@homepage='http://www.python.org/'
@md5='245db9f1e0f09ab7e0faaa0cf7301011'
+ def deps
+ # You can build Python without readline, but you really don't want to.
+ LibraryDep.new 'readline'
+ end
+
def install
- # TODO:
- # Bring virtualenv along for the ride.
- # Rename the formula to python26?
- # -- one feature I plan for homebrew is one can do, eg.
- # brew install -v2.6
- # and also, versioning packages in the name sucks :) --mxcl
-
+ # Todo: Link against custom readline
system "./configure --prefix='#{prefix}'"
system "make"
system "make install"