Merge pull request #7038 from issyl0/texlive-formula-exists-on-linux

missing_formula: TexLive is only blacklisted on macOS
This commit is contained in:
Mike McQuaid 2020-02-16 09:46:42 +00:00 committed by GitHub
commit 307f85f447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 13 deletions

View File

@ -14,6 +14,19 @@ module Homebrew
<<~EOS
Xcode can be installed from the App Store.
EOS
when "tex", "tex-live", "texlive", "mactex", "latex"
<<~EOS
There are three versions of MacTeX.
Full installation:
brew cask install mactex
Full installation without bundled applications:
brew cask install mactex-no-gui
Minimal installation:
brew cask install basictex
EOS
else
generic_blacklisted_reason(name)
end

View File

@ -16,18 +16,6 @@ module Homebrew
macOS provides gem as part of Ruby. To install a newer version:
brew install ruby
EOS
when "tex", "tex-live", "texlive", "mactex", "latex" then <<~EOS
There are three versions of MacTeX.
Full installation:
brew cask install mactex
Full installation without bundled applications:
brew cask install mactex-no-gui
Minimal installation:
brew cask install basictex
EOS
when "pip" then <<~EOS
pip is part of the python formula:
brew install python

View File

@ -17,7 +17,7 @@ describe Homebrew::MissingFormula do
end
it { is_expected.to blacklist("gem") }
it { is_expected.to blacklist("latex") }
it("blacklists LaTeX", :needs_macos) { is_expected.to blacklist("latex") }
it { is_expected.to blacklist("pip") }
it { is_expected.to blacklist("pil") }
it { is_expected.to blacklist("macruby") }