<commit_before>require 'formula'

class PerconaServer < Formula
  homepage 'http://www.percona.com'
  url 'http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.25a-27.1/source/Percona-Server-5.5.25a-rel27.1.tar.gz'
  version '5.5.25-27.1'
  sha1 'f3388960311b159e46efd305ecdeb806fe2c7fdc'

  depends_on 'cmake' => :build
  depends_on 'readline'
  depends_on 'pidof'

  option :universal
  option 'with-tests', 'Build with unit tests'
  option 'with-embedded', 'Build the embedded server'
  option 'with-libedit', 'Compile with editline wrapper instead of readline'
  option 'enable-local-infile', 'Build with local infile loading support'

  conflicts_with 'mysql',
    :because => "percona-server and mysql install the same binaries."
  conflicts_with 'mariadb',
    :because => "percona-server and mariadb install the same binaries."

  skip_clean :all # So "INSTALL PLUGIN" can work.

  fails_with :llvm do
    build 2334
    cause "https://github.com/mxcl/homebrew/issues/issue/144"
  end
<commit_msg>Percona Server 5.5.27-28.0<commit_after>require 'formula'

class PerconaServer < Formula
  homepage 'http://www.percona.com'
  url 'http://www.percona.com/redir/downloads/Percona-Server-5.5/Percona-Server-5.5.27-28.0/source/Percona-Server-5.5.27-rel28.0.tar.gz'
  version '5.5.27-28.0'
  sha1 '5e6bb13ac6cec9fdf88251939e40e10c8bdef4a9'

  depends_on 'cmake' => :build
  depends_on 'readline'
  depends_on 'pidof'

  option :universal
  option 'with-tests', 'Build with unit tests'
  option 'with-embedded', 'Build the embedded server'
  option 'with-libedit', 'Compile with editline wrapper instead of readline'
  option 'enable-local-infile', 'Build with local infile loading support'

  conflicts_with 'mysql',
    :because => "percona-server and mysql install the same binaries."
  conflicts_with 'mariadb',
    :because => "percona-server and mariadb install the same binaries."

  skip_clean :all # So "INSTALL PLUGIN" can work.

  fails_with :llvm do
    build 2334
    cause "https://github.com/mxcl/homebrew/issues/issue/144"
  end

{'fraction_non_alphanumeric': 0.1208313194780087, 'fraction_numerical': 0.05461575640405993, 'mean_word_length': 4.085995085995086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5265216', 'n_tokens_mistral': 817, 'n_tokens_neox': 759, 'n_words': 174}