Clean up blacklisted package messages
Ensure consistent formatting and provide references to all MacTeX packages
This commit is contained in:
parent
d27320087a
commit
60b698ba28
@ -11,34 +11,40 @@ module Homebrew
|
|||||||
def blacklisted_reason(name)
|
def blacklisted_reason(name)
|
||||||
case name.downcase
|
case name.downcase
|
||||||
when "gem", /^rubygems?$/ then <<~EOS
|
when "gem", /^rubygems?$/ then <<~EOS
|
||||||
Homebrew provides gem via: `brew install ruby`.
|
gem is part of the ruby formula:
|
||||||
|
brew install ruby
|
||||||
EOS
|
EOS
|
||||||
when "tex", "tex-live", "texlive", "latex" then <<~EOS
|
when "tex", "tex-live", "texlive", "latex" then <<~EOS
|
||||||
Installing TeX from source is weird and gross, requires a lot of patches,
|
There are three versions of MacTeX. Full installation:
|
||||||
and only builds 32-bit (and thus can't use Homebrew dependencies)
|
|
||||||
|
|
||||||
We recommend using a MacTeX distribution: https://www.tug.org/mactex/
|
|
||||||
|
|
||||||
You can install it with Homebrew Cask:
|
|
||||||
brew cask install mactex
|
brew cask install mactex
|
||||||
|
|
||||||
|
Full installation without bundled applications:
|
||||||
|
brew cask install mactex-no-gui
|
||||||
|
|
||||||
|
Minimal installation:
|
||||||
|
brew cask install basictex
|
||||||
|
|
||||||
|
You may also want the TeX Live Utility with the latter options:
|
||||||
|
brew cask install tex-live-utility
|
||||||
EOS
|
EOS
|
||||||
when "pip" then <<~EOS
|
when "pip" then <<~EOS
|
||||||
pip is part of the python formula, and can be installed with:
|
pip is part of the python formula:
|
||||||
brew install python
|
brew install python
|
||||||
However you will then have two Pythons installed on your Mac,
|
|
||||||
so alternatively you can install pip via the instructions at:
|
|
||||||
#{Formatter.url("https://pip.readthedocs.io/en/stable/installing/")}
|
|
||||||
EOS
|
EOS
|
||||||
when "pil" then <<~EOS
|
when "pil" then <<~EOS
|
||||||
Instead of PIL, consider `pip2 install pillow`.
|
Instead of PIL, consider pillow:
|
||||||
|
pip2 install pillow
|
||||||
EOS
|
EOS
|
||||||
when "macruby" then <<~EOS
|
when "macruby" then <<~EOS
|
||||||
MacRuby is not packaged and is on an indefinite development hiatus.
|
MacRuby is not packaged and is on an indefinite development hiatus.
|
||||||
You can read more about it at:
|
You can read more about it at:
|
||||||
#{Formatter.url("https://github.com/MacRuby/MacRuby")}
|
#{Formatter.url("https://github.com/MacRuby/MacRuby")}
|
||||||
|
|
||||||
|
You can instead install the ruby formula:
|
||||||
|
brew install ruby
|
||||||
EOS
|
EOS
|
||||||
when /(lib)?lzma/ then <<~EOS
|
when /(lib)?lzma/ then <<~EOS
|
||||||
lzma is now part of the xz formula, and can be installed with:
|
lzma is now part of the xz formula:
|
||||||
brew install xz
|
brew install xz
|
||||||
EOS
|
EOS
|
||||||
when "gtest", "googletest", "google-test" then <<~EOS
|
when "gtest", "googletest", "google-test" then <<~EOS
|
||||||
@ -54,10 +60,11 @@ module Homebrew
|
|||||||
ruin SSH's security.
|
ruin SSH's security.
|
||||||
EOS
|
EOS
|
||||||
when "gsutil" then <<~EOS
|
when "gsutil" then <<~EOS
|
||||||
Install gsutil with `pip2 install gsutil`
|
gsutil is available through pip:
|
||||||
|
pip2 install gsutil
|
||||||
EOS
|
EOS
|
||||||
when "gfortran" then <<~EOS
|
when "gfortran" then <<~EOS
|
||||||
GNU Fortran is now part of the GCC formula, and can be installed with:
|
GNU Fortran is part of the GCC formula:
|
||||||
brew install gcc
|
brew install gcc
|
||||||
EOS
|
EOS
|
||||||
when "play" then <<~EOS
|
when "play" then <<~EOS
|
||||||
@ -83,7 +90,7 @@ module Homebrew
|
|||||||
brew cask install ngrok
|
brew cask install ngrok
|
||||||
EOS
|
EOS
|
||||||
when "cargo" then <<~EOS
|
when "cargo" then <<~EOS
|
||||||
cargo is part of the rust formula, and can be installed with:
|
cargo is part of the rust formula:
|
||||||
brew install rust
|
brew install rust
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user