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.rb: add help message for cargo #5678

Merged
merged 2 commits into from
Feb 5, 2019
Merged
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
19 changes: 13 additions & 6 deletions Library/Homebrew/missing_formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ def blacklisted_reason(name)
brew cask install mactex
EOS
when "pip" then <<~EOS
Homebrew provides pip via: `brew install python`. However you will then
have two Pythons installed on your Mac, so alternatively you can install
pip via the instructions at:
pip is part of the python formula, and can be installed with:
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
when "pil" then <<~EOS
Expand All @@ -36,8 +37,10 @@ def blacklisted_reason(name)
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.
Expand All @@ -54,7 +57,7 @@ def blacklisted_reason(name)
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
Expand All @@ -79,6 +82,10 @@ def blacklisted_reason(name)
If you wish to use the 2.x release you can install with Homebrew Cask:
brew cask install ngrok
EOS
when "cargo" then <<~EOS
cargo is part of the rust formula, and can be installed with:
brew install rust
EOS
end
end
alias generic_blacklisted_reason blacklisted_reason
Expand Down