Remove postgresql and mysql audit noise

Closes Homebrew/homebrew#20159.
This commit is contained in:
Jack Nagel 2013-06-04 11:15:30 -05:00
parent b97b013fce
commit 816531e28d

View File

@ -148,7 +148,7 @@ class FormulaAuditor
problem <<-EOS.undent unless dep.tags.any? || f.name =~ /automake/ && dep.name == 'autoconf' problem <<-EOS.undent unless dep.tags.any? || f.name =~ /automake/ && dep.name == 'autoconf'
#{dep} dependency should be "depends_on '#{dep}' => :build" #{dep} dependency should be "depends_on '#{dep}' => :build"
EOS EOS
when "git", "ruby", "emacs", "mysql", "mercurial" when "git", "ruby", "emacs", "mercurial"
problem <<-EOS.undent problem <<-EOS.undent
Don't use #{dep} as a dependency. We allow non-Homebrew Don't use #{dep} as a dependency. We allow non-Homebrew
#{dep} installations. #{dep} installations.
@ -160,14 +160,6 @@ class FormulaAuditor
that works with brewed and system Python and allows us to support that works with brewed and system Python and allows us to support
bindings for 2.x and 3.x in parallel and much more. bindings for 2.x and 3.x in parallel and much more.
EOS EOS
when "postgresql"
# Postgis specifically requires a Homebrewed postgresql
unless f.name == "postgis"
problem <<-EOS.undent
Don't use #{dep} as a dependency. We allow non-Homebrew
#{dep} installations.
EOS
end
when 'gfortran' when 'gfortran'
problem "Use ENV.fortran during install instead of depends_on 'gfortran'" problem "Use ENV.fortran during install instead of depends_on 'gfortran'"
when 'open-mpi', 'mpich2' when 'open-mpi', 'mpich2'