Library/Homebrew/dependency_collector.rb
# Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies .
def parse_symbol_spec(spec, tags)
    case spec
    when :autoconf, :automake, :bsdmake, :libtool, :libltdl
      autotools_dep(spec, tags)
    when :x11        then X11Dependency.new(spec.to_s, tags)
    when :cairo, :fontconfig, :freetype, :libpng, :pixman
      Dependency.new(spec.to_s, tags)
    when :xcode      then XcodeDependency.new(tags)
    when :macos      then MinimumMacOSRequirement.new(tags)
    when :mysql      then MysqlDependency.new(tags)
    when :postgresql then PostgresqlDependency.new(tags)
    when :fortran    then FortranDependency.new(tags)
    when :mpi        then MPIDependency.new(*tags)
    when :tex        then TeXDependency.new(tags)
    when :clt        then CLTDependency.new(tags)
    when :arch       then ArchRequirement.new(tags)
    when :hg         then MercurialDependency.new(tags)
    when :python, :python2 then PythonDependency.new(tags)
    when :python3    then Python3Dependency.new(tags)
    when :ld64       then LD64Dependency.new if MacOS.version < :leopard
    when :ant        then ant_dep(spec, tags)
    else
      raise "Unsupported special dependency #{spec.inspect}"
    end
  end
def parse_symbol_spec ( spec , tags ) case spec when :autoconf , :automake , :bsdmake , :libtool , :libltdl autotools_dep ( spec , tags ) when :x11 then X11Dependency . new ( spec . to_s , tags ) when :cairo , :fontconfig , :freetype , :libpng , :pixman Dependency . new ( spec . to_s , tags ) when :xcode then XcodeDependency . new ( tags ) when :macos then MinimumMacOSRequirement . new ( tags ) when :mysql then MysqlDependency . new ( tags ) when :postgresql then PostgresqlDependency . new ( tags ) when :fortran then FortranDependency . new ( tags ) when :mpi then MPIDependency . new ( * tags ) when :tex then TeXDependency . new ( tags ) when :clt then CLTDependency . new ( tags ) when :arch then ArchRequirement . new ( tags ) when :hg then MercurialDependency . new ( tags ) when :python , :python2 then PythonDependency . new ( tags ) when :python3 then Python3Dependency . new ( tags ) when :ld64 then LD64Dependency . new if MacOS . version < :leopard when :ant then ant_dep ( spec , tags ) else raise "Unsupported special dependency #{spec.inspect}" end end
Define the languages that we can handle as external dependencies.
Define the languages that we can handle as external dependencies .
# Xcode no longer provides autotools or some other build tools # We no longer use X11 proxy deps, but we support the symbols # for backwards compatibility. # python2 is deprecated # Tiger's ld is too old to properly link some software
spec
<not_specific>
tags
<not_specific>