Merge pull request #5759 from adunning/patch-1
Clean up blacklisted package messages
This commit is contained in:
commit
78a1732ba2
@ -11,34 +11,35 @@ 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`.
|
macOS provides gem as part of Ruby. To install a newer version:
|
||||||
|
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.
|
||||||
and only builds 32-bit (and thus can't use Homebrew dependencies)
|
|
||||||
|
|
||||||
We recommend using a MacTeX distribution: https://www.tug.org/mactex/
|
Full installation:
|
||||||
|
|
||||||
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
|
||||||
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 has been discontinued. Consider RubyMotion:
|
||||||
You can read more about it at:
|
brew cask install rubymotion
|
||||||
#{Formatter.url("https://github.com/MacRuby/MacRuby")}
|
|
||||||
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 +55,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
|
||||||
@ -69,9 +71,16 @@ module Homebrew
|
|||||||
#{Formatter.url("https://www.playframework.com/documentation/2.3.x/Highlights23")}
|
#{Formatter.url("https://www.playframework.com/documentation/2.3.x/Highlights23")}
|
||||||
EOS
|
EOS
|
||||||
when "haskell-platform" then <<~EOS
|
when "haskell-platform" then <<~EOS
|
||||||
We no longer package haskell-platform. Consider installing ghc,
|
The components of the Haskell Platform are available separately.
|
||||||
cabal-install and stack instead:
|
|
||||||
brew install ghc cabal-install stack
|
Glasgow Haskell Compiler:
|
||||||
|
brew install ghc
|
||||||
|
|
||||||
|
Cabal build system:
|
||||||
|
brew install cabal-install
|
||||||
|
|
||||||
|
Haskell Stack tool:
|
||||||
|
brew install haskell-stack
|
||||||
EOS
|
EOS
|
||||||
when "mysqldump-secure" then <<~EOS
|
when "mysqldump-secure" then <<~EOS
|
||||||
The creator of mysqldump-secure tried to game our popularity metrics.
|
The creator of mysqldump-secure tried to game our popularity metrics.
|
||||||
@ -83,7 +92,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