Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing_formula: TexLive is only blacklisted on macOS #7038

Merged
merged 1 commit into from Feb 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions Library/Homebrew/extend/os/mac/missing_formula.rb
Expand Up @@ -14,6 +14,19 @@ def blacklisted_reason(name)
<<~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
Expand Down
12 changes: 0 additions & 12 deletions Library/Homebrew/missing_formula.rb
Expand Up @@ -16,18 +16,6 @@ def blacklisted_reason(name)
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
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/test/missing_formula_spec.rb
Expand Up @@ -17,7 +17,7 @@
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") }
Expand Down