Merge pull request #7038 from issyl0/texlive-formula-exists-on-linux
missing_formula: TexLive is only blacklisted on macOS
This commit is contained in:
commit
307f85f447
@ -14,6 +14,19 @@ module Homebrew
|
|||||||
<<~EOS
|
<<~EOS
|
||||||
Xcode can be installed from the App Store.
|
Xcode can be installed from the App Store.
|
||||||
EOS
|
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
|
else
|
||||||
generic_blacklisted_reason(name)
|
generic_blacklisted_reason(name)
|
||||||
end
|
end
|
||||||
|
|||||||
@ -16,18 +16,6 @@ module Homebrew
|
|||||||
macOS provides gem as part of Ruby. To install a newer version:
|
macOS provides gem as part of Ruby. To install a newer version:
|
||||||
brew install ruby
|
brew install ruby
|
||||||
EOS
|
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
|
when "pip" then <<~EOS
|
||||||
pip is part of the python formula:
|
pip is part of the python formula:
|
||||||
brew install python
|
brew install python
|
||||||
|
|||||||
@ -17,7 +17,7 @@ describe Homebrew::MissingFormula do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it { is_expected.to blacklist("gem") }
|
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("pip") }
|
||||||
it { is_expected.to blacklist("pil") }
|
it { is_expected.to blacklist("pil") }
|
||||||
it { is_expected.to blacklist("macruby") }
|
it { is_expected.to blacklist("macruby") }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user