missing_formula.rb: add help message for cargo

...modeled after the existing message for pip.

Also sync format of the gfortran and lzma messages,
and use typographic apostrophe in the *tex message.
This commit is contained in:
Waldir Pimenta 2019-02-05 13:38:08 +00:00 committed by GitHub
parent ec3eb25994
commit 3dc0df5a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ module Homebrew
EOS
when "tex", "tex-live", "texlive", "latex" then <<~EOS
Installing TeX from source is weird and gross, requires a lot of patches,
and only builds 32-bit (and thus can't use Homebrew dependencies)
and only builds 32-bit (and thus cant use Homebrew dependencies)
We recommend using a MacTeX distribution: https://www.tug.org/mactex/
@ -36,8 +36,10 @@ module Homebrew
You can read more about it at:
#{Formatter.url("https://github.com/MacRuby/MacRuby")}
EOS
when /(lib)?lzma/
"lzma is now part of the xz formula."
when /(lib)?lzma/ then <<~EOS
lzma is now part of the xz formula, and can be installed with:
brew install xz.
EOS
when "gtest", "googletest", "google-test" then <<~EOS
Installing gtest system-wide is not recommended; it should be vendored
in your projects that use it.
@ -54,7 +56,7 @@ module Homebrew
Install gsutil with `pip2 install gsutil`
EOS
when "gfortran" then <<~EOS
GNU Fortran is now provided as part of GCC, and can be installed with:
GNU Fortran is now part of the GCC formula, and can be installed with:
brew install gcc
EOS
when "play" then <<~EOS
@ -79,6 +81,9 @@ module Homebrew
If you wish to use the 2.x release you can install with Homebrew Cask:
brew cask install ngrok
EOS
when "cargo" then <<~EOS
Homebrew provides cargo via: `brew install rust`.
EOS
end
end
alias generic_blacklisted_reason blacklisted_reason