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.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
new file mode 100644
index 000000000..2f70d810c
--- /dev/null
+++ b/Library/Formula/python.rb
@@ -0,0 +1,20 @@
+require 'brewkit'
+
+class Python <Formula
+ @url='http://www.python.org/ftp/python/2.6.2/Python-2.6.2.tar.bz2'
+ @homepage='http://www.python.org/'
+ @md5='245db9f1e0f09ab7e0faaa0cf7301011'
+
+ 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
+
+ system "./configure --prefix='#{prefix}'"
+ system "make"
+ system "make install"
+ end
+end