yamcha 0.33

YamCha is a generic, customizable, and open source text chunker
oriented toward a lot of NLP tasks, such as POS tagging,
Named Entity Recognition, base NP chunking, and Text Chunking.

Closes #13815.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Remove -fopenmp *and* -lgomp

Apparently LLVM can use these, so only remove if clang.

Refs #14569.
Fixes #14591; clamav installs libs weirdly
flac2mp3 script has moved to a proper repo

Closes #14555.

Signed-off-by: Max Howell <mxcl@me.com>
Fixes #14344; hugs fails with clang
brew-test-bot: Only run brew-test if test defined.
+argp-standalone-1.3

This is an extraction of the Argp header and library from Glibc. It may be used as a dependency for formulae that depend on the argp functionality of Glibc.

Closes #13138.

Signed-off-by: Max Howell <mxcl@me.com>
+log4c-1.2.1

A logging library for C based on log4j.

Closes #13105.

Signed-off-by: Max Howell <mxcl@me.com>
+iniparser-3.1

An ANSI C library that parses ini files.

Closes #13104.

Signed-off-by: Max Howell <mxcl@me.com>

Use make CC=cc form rather than editing Makefiles.
+csync-0.44.0

Formula for csync as requested in mxcl/homebrew#12786. Note that the own-cloud module is only provided by the HEAD build. Dependencies that also need to be pulled are: * iniparser-3.1 (mxcl/homebrew#13104) * log4c-1.2.1 (mxcl/homebrew#13105) * argp-standalone-1.3 (mxcl/homebrew#13138)

Closes #13139.

Signed-off-by: Max Howell <mxcl@me.com>
csync 0.49.9 can lose patches

Use options DSL. Audited.
Extend Set to allow repetition (*)

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Return the block value in ARGV.filter_for_dependencies

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Tab: provide an interface similar to BuildOptions

Eventually a common interface could be factored out into a module, but
for now this will suffice.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Install receipt housekeeping

- Since using opt_prefix means we can find receipts for keg-only
  formulae, try it first and fall back on using linked_keg.
- Make the tab filename a constant instead of duplicating the string
  everywhere.
- Address a couple of other things that need cleanup.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
BuildOptions: check has_option? for universal and 32-bit

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Provide a common interface for Dependency and Requirement

Introduce a new Dependable module that provides useful interrogation
methods for Dependency and Requirement. These methods are mapped to
dependency tags in formula (:build, :optional, and :recommended).

Previously only Dependency objects recorded tags; this allows
Requirements to do the same.

Move Requirement subclasses to a separate file.
Formula#recursive_dependencies

This behaves like recursive_deps, but the resulting list consists of
Dependency objects instead of Formula objects. The list maintains the
installable order property of recursive_deps.

While in the area, add some comments clarifying the purpose of related
methods.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Dependency#to_formula and associated helpers

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
FormulaInstaller: disambiguate show_header usage

show_header should default to false (we don't want to display it in the
case of installing a single formula without dependencies), but it only
worked this way by accident.

The assignment "show_header = true" creates a local variable named
show_header, and in the case where needed_deps is empty and this
assignment is not actually executed, the latter usage evaluates the
local variable instead of calling the method.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>