remove Requirement#pour_bottle?
It's never used since a0a93f1b3b7b2be9b8a319be91086ffe220f8e32. Closes Homebrew/homebrew#43462. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
79ea14b738
commit
01d7f4e766
@ -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?
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user