From e2ac24f215c1dda024ae9681c1fdc2813aff7ef9 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 9 Mar 2013 16:09:25 +0100 Subject: Python: update pip and distribute Closes #18358. Signed-off-by: Adam Vandenberg --- Library/Formula/python3.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Library/Formula/python3.rb') diff --git a/Library/Formula/python3.rb b/Library/Formula/python3.rb index d94805e99..5f9a0bc90 100644 --- a/Library/Formula/python3.rb +++ b/Library/Formula/python3.rb @@ -6,15 +6,16 @@ require 'formula' # `brew install python`. class Distribute < Formula - url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz' - sha1 'b6f9cfbaf3e63833b71009812a613be13e68f5de' + url 'https://pypi.python.org/packages/source/d/distribute/distribute-0.6.35.tar.gz' + sha1 'a928104ea1bd1f85c35de6d0d5f1628d2602ac66' end class Pip < Formula - url 'http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz' - sha1 '35db84983ef3f66a8a161d320e61d192afc233d9' + url 'https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz' + sha1 '9c70d314e5dea6f41415af814056b0f63c3ffd14' end + class Python3 < Formula homepage 'http://www.python.org/' url 'http://python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2' @@ -119,7 +120,7 @@ class Python3 < Formula # Install distribute for python3 and assure there's no name clash # with what the python (2.x) formula installs. scripts_folder.mkpath - setup_args = ["-s", "setup.py", "install", "--force", "--verbose", "--install-lib=#{site_packages_cellar}", "--install-scripts=#{bin}" ] + setup_args = ["-s", "setup.py", "install", "--force", "--verbose", "--install-lib=#{site_packages_cellar}", "--install-scripts=#{bin}"] Distribute.new.brew { system "#{bin}/python#{VER}", *setup_args } mv bin/'easy_install', bin/'easy_install3' Pip.new.brew { system "#{bin}/python#{VER}", *setup_args } -- cgit v1.2.3