From 2ace1b6b86cc02fae0432dd5d86971db5bf25b54 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 14 Sep 2013 11:49:54 +0100 Subject: [PATCH] Rename PythonInstalled to PythonDependency. Make it more consistent with other requirements. --- Formula/python.rb | 4 ++-- Formula/python3.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/python.rb b/Formula/python.rb index e842ffae860..f462faf3710 100644 --- a/Formula/python.rb +++ b/Formula/python.rb @@ -125,9 +125,9 @@ class Python < Formula # Symlink the prefix site-packages into the cellar. ln_s site_packages, site_packages_cellar - # We ship setuptools and pip and reuse the PythonInstalled + # We ship setuptools and pip and reuse the PythonDependency # Requirement here to write the sitecustomize.py - py = PythonInstalled.new("2.7") + py = PythonDependency.new("2.7") py.binary = bin/'python' py.modify_build_environment diff --git a/Formula/python3.rb b/Formula/python3.rb index 506068d2ee0..54c20b3cc89 100644 --- a/Formula/python3.rb +++ b/Formula/python3.rb @@ -138,9 +138,9 @@ class Python3 < Formula # Make sure homebrew symlinks it to HOMEBREW_PREFIX/bin. ln_s "#{bin}/python#{VER}", "#{bin}/python3" unless (bin/"python3").exist? - # We ship setuptools and pip and reuse the PythonInstalled + # We ship setuptools and pip and reuse the PythonDependency # Requirement here to write the sitecustomize.py - py = PythonInstalled.new(VER) + py = PythonDependency.new(VER) py.binary = bin/"python#{VER}" py.modify_build_environment