aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-09-14 11:49:54 +0100
committerMike McQuaid2013-09-14 12:21:49 +0100
commit0675ba29464fd9600f83eafff2df5c8e993d7533 (patch)
treed412c780d496cb33911760cfb4f4248c9eb5fc30 /Library/Formula
parent1935e4fcd6601bb413991f2524aaf4e46dbbff8b (diff)
downloadhomebrew-0675ba29464fd9600f83eafff2df5c8e993d7533.tar.bz2
Rename PythonInstalled to PythonDependency.
Make it more consistent with other requirements.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/python.rb4
-rw-r--r--Library/Formula/python3.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index e842ffae8..f462faf37 100644
--- a/Library/Formula/python.rb
+++ b/Library/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/Library/Formula/python3.rb b/Library/Formula/python3.rb
index 506068d2e..54c20b3cc 100644
--- a/Library/Formula/python3.rb
+++ b/Library/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