formula_support: deprecate bottle :unneeded/:disabled in 3.3.0

We'll no longer need this DSL so let's move towards deprecation.
This commit is contained in:
Mike McQuaid 2021-06-29 14:46:08 +01:00
parent eec2d609bd
commit c37794e653
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -69,6 +69,9 @@ class BottleDisableReason
def initialize(type, reason)
@type = type
@reason = reason
# TODO: 3.3.0 should deprecate this behaviour as it was only needed for
# Homebrew/core (where we don't want unneeded or disabled bottles any more)
# odeprecated "bottle :#{@type}" if valid?
end
def unneeded?