aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 6d92d147c..c1d15a887 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -26,10 +26,8 @@ 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.
- Readline.new
- end
+ # You can build Python without readline, but you really don't want to.
+ depends_on Readline.new
def skip_clean? path
path == bin+'python' or path == bin+'python2.6' or # if you strip these, it can't load modules