aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/requirement.rb6
-rw-r--r--Library/Homebrew/requirements/python_requirement.rb4
2 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb
index 45c7160f9..9422792ed 100644
--- a/Library/Homebrew/requirement.rb
+++ b/Library/Homebrew/requirement.rb
@@ -55,12 +55,6 @@ class Requirement
!!result
end
- # Can overridden to optionally prevent a formula with this requirement from
- # pouring a bottle.
- def pour_bottle?
- true
- end
-
# Overriding #fatal? is deprecated.
# Pass a boolean to the fatal DSL method instead.
def fatal?
diff --git a/Library/Homebrew/requirements/python_requirement.rb b/Library/Homebrew/requirements/python_requirement.rb
index 5c504956d..f41722782 100644
--- a/Library/Homebrew/requirements/python_requirement.rb
+++ b/Library/Homebrew/requirements/python_requirement.rb
@@ -14,10 +14,6 @@ class PythonRequirement < Requirement
version == Version.new("2.7")
end
- def pour_bottle?
- build? || system_python?
- end
-
env do
short_version = python_short_version