formula_support: add Pre El Capitan keg_only

This commit is contained in:
Dominyk Tiller 2015-09-08 15:27:58 +01:00
parent 8374374168
commit 48ba192a3b

View File

@ -15,6 +15,8 @@ class KegOnlyReason
MacOS.version < :mountain_lion
when :provided_pre_mavericks
MacOS.version < :mavericks
when :provided_pre_el_capitan
MacOS.version < :el_capitan
when :provided_until_xcode43
MacOS::Xcode.version < "4.3"
when :provided_until_xcode5
@ -34,12 +36,15 @@ EOS
when :shadowed_by_osx then <<-EOS
OS X provides similar software and installing this software in
parallel can cause all kinds of trouble.
EOS
when :provided_pre_mountain_lion then <<-EOS
OS X already provides this software in versions before Mountain Lion.
EOS
when :provided_pre_mavericks then <<-EOS
OS X already provides this software in versions before Mavericks.
EOS
when :provided_pre_mountain_lion then <<-EOS
OS X already provides this software in versions before Mountain Lion.
when :provided_pre_el_capitan then <<-EOS
OS X already provides this software in versions before El Capitan.
EOS
when :provided_until_xcode43
"Xcode provides this software prior to version 4.3."