audit: deprecate depends_on :tex.

This has known issues with our `ghostscript` formula, we can't test it
on CI and is a ludicrously heavy dependency that in many cases can be
avoided by upstream providing prebuilt documentation.
This commit is contained in:
Mike McQuaid 2017-03-19 20:46:31 +02:00
parent 76955b47bd
commit 8efc0a608d

View File

@ -1036,6 +1036,10 @@ class FormulaAuditor
problem ":apr is deprecated. Usage should be \"apr-util\"" problem ":apr is deprecated. Usage should be \"apr-util\""
end end
if line =~ /depends_on :tex/
problem ":tex is deprecated."
end
# Commented-out depends_on # Commented-out depends_on
problem "Commented-out dep #{$1}" if line =~ /#\s*depends_on\s+(.+)\s*$/ problem "Commented-out dep #{$1}" if line =~ /#\s*depends_on\s+(.+)\s*$/