aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-12-31 16:11:21 +0000
committerGitHub2017-12-31 16:11:21 +0000
commit93a2e9fc25407b049d594ad2da112a5cb8bdf5c3 (patch)
tree33052267149fb3cff2562986a30a7249fa28d1b3 /Library/Homebrew/dev-cmd
parentc449bdb92c89c8e41682750003999664d0e5808d (diff)
parentf9b6407110d7fb98a65b470d166fc5b7be6052ee (diff)
downloadbrew-93a2e9fc25407b049d594ad2da112a5cb8bdf5c3.tar.bz2
Merge pull request #3612 from MikeMcQuaid/more-deprecations
requirements: move more to compat.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 6da591f1a..4982bfbc5 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -379,24 +379,7 @@ class FormulaAuditor
case dep.name
when "git"
- problem "Don't use git as a dependency"
- when "gfortran"
- problem "Use `depends_on :fortran` instead of `depends_on 'gfortran'`"
- when "ruby"
- problem <<~EOS
- Don't use "ruby" as a dependency. If this formula requires a
- minimum Ruby version not provided by the system you should
- use the RubyRequirement:
- depends_on :ruby => "1.8"
- where "1.8" is the minimum version of Ruby required.
- EOS
- when "open-mpi", "mpich"
- problem <<~EOS
- There are multiple conflicting ways to install MPI. Use an MPIRequirement:
- depends_on :mpi => [<lang list>]
- Where <lang list> is a comma delimited list that can include:
- :cc, :cxx, :f77, :f90
- EOS
+ problem "Don't use git as a dependency (it's always available)"
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
problem <<~EOS