Add depends_on :gpg

This commit is contained in:
Xu Cheng 2015-01-18 21:29:57 +08:00 committed by Mike McQuaid
parent b6a91fb234
commit 011b47aeff
2 changed files with 8 additions and 0 deletions

View File

@ -107,6 +107,7 @@ class DependencyCollector
when :macos then MinimumMacOSRequirement.new(tags)
when :mysql then MysqlDependency.new(tags)
when :postgresql then PostgresqlDependency.new(tags)
when :gpg then GPGDependency.new(tags)
when :fortran then FortranDependency.new(tags)
when :mpi then MPIDependency.new(*tags)
when :tex then TeXDependency.new(tags)

View File

@ -59,6 +59,13 @@ class PostgresqlDependency < Requirement
satisfy { which 'pg_config' }
end
class GPGDependency < Requirement
fatal true
default_formula "gpg"
satisfy { which("gpg") || which("gpg2") }
end
class TeXDependency < Requirement
fatal true
cask "mactex"