<commit_before>require 'formula'

class Mariadb < Formula
  homepage 'http://mariadb.org/'
  url 'http://ftp.osuosl.org/pub/mariadb/mariadb-5.5.31/kvm-tarbake-jaunty-x86/mariadb-5.5.31.tar.gz'
  sha1 '45268a0603db8674ecabbc510ad0fcad88a730f7'

  devel do
    url 'http://ftp.osuosl.org/pub/mariadb/mariadb-10.0.2/kvm-tarbake-jaunty-x86/mariadb-10.0.2.tar.gz'
    sha1 '17deec36fd26124c357d43d520199c115c46caa1'
  end

  depends_on 'cmake' => :build
  depends_on 'pidof' unless MacOS.version >= :mountain_lion

  option :universal
  option 'with-tests', 'Keep test when installing'
  option 'with-bench', 'Keep benchmark app when installing'
  option 'client-only', 'Install only client tools'
  option 'with-embedded', 'Build the embedded server'
  option 'with-libedit', 'Compile with editline wrapper instead of readline'
  option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
  option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
  option 'enable-local-infile', 'Build with local infile loading support'

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

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

  conflicts_with 'mysql-cluster',
    :because => "mariadb and mysql-cluster install the same binaries."<commit_msg>MariaDB --devel 10.0.3<commit_after>require 'formula'

class Mariadb < Formula
  homepage 'http://mariadb.org/'
  url 'http://ftp.osuosl.org/pub/mariadb/mariadb-5.5.31/kvm-tarbake-jaunty-x86/mariadb-5.5.31.tar.gz'
  sha1 '45268a0603db8674ecabbc510ad0fcad88a730f7'

  devel do
    url 'http://ftp.osuosl.org/pub/mariadb/mariadb-10.0.3/kvm-tarbake-jaunty-x86/mariadb-10.0.3.tar.gz'
    sha1 'c36c03ad78bdadf9a10e7b695159857d6432726d'
  end

  depends_on 'cmake' => :build
  depends_on 'pidof' unless MacOS.version >= :mountain_lion

  option :universal
  option 'with-tests', 'Keep test when installing'
  option 'with-bench', 'Keep benchmark app when installing'
  option 'client-only', 'Install only client tools'
  option 'with-embedded', 'Build the embedded server'
  option 'with-libedit', 'Compile with editline wrapper instead of readline'
  option 'with-archive-storage-engine', 'Compile with the ARCHIVE storage engine enabled'
  option 'with-blackhole-storage-engine', 'Compile with the BLACKHOLE storage engine enabled'
  option 'enable-local-infile', 'Build with local infile loading support'

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

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

  conflicts_with 'mysql-cluster',
    :because => "mariadb and mysql-cluster install the same binaries."
{'fraction_non_alphanumeric': 0.11487691758829825, 'fraction_numerical': 0.05208704958972529, 'mean_word_length': 4.46588693957115, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4694289', 'n_tokens_mistral': 1102, 'n_tokens_neox': 997, 'n_words': 237}