<commit_before>class GmshSvnStrategy < SubversionDownloadStrategy
  def quiet_safe_system(*args)
    super *args + ["--username", "gmsh", "--password", "<PASSWORD>"]
  end
end

class Gmsh < Formula
  desc "Gmsh is a 3D grid generator with a build-in CAD engine."
  homepage "http://geuz.org/gmsh"
  url "http://geuz.org/gmsh/src/gmsh-2.10.1-source.tgz"
  sha256 "a47f15541db038c9cb00f004d13c5648a46c3d8ebd6e0bf3b56f9274e13f505d"

  head "https://geuz.org/svn/gmsh/trunk", :using => GmshSvnStrategy

  bottle do
    cellar :any
    sha256 "65d05d677a3ab929ad126f6c93c9ddfb70b8be32995ce68c6920178f8359ca76" => :el_capitan
    sha256 "b039831f02f123a2cb39de1055e345dc8465483396f0d10284a9d5aa4796a46b" => :yosemite
    sha256 "8faf0079b79a7b1690154aa6df8ba8c25bf007a7ddb26bbb09b34a069814c2ee" => :mavericks
  end

  depends_on :fortran
  depends_on :mpi => [:cc, :cxx, :f90, :recommended]
  depends_on "cmake" => :build
  depends_on "petsc" => :optional
  depends_on "slepc" => :optional
  depends_on "fltk" => :optional
  depends_on "cairo" if build.with? "fltk"

  option "with-oce",               "Build with oce support (conflicts with opencascade)"
  option "without-opencascade",    "Build without opencascade support"

  if build.with?("opencascade") && build.with?("oce")
    odie "gmsh: --without-opencascade must be specified when using --with-oce"<commit_msg>gmsh: update to 2.11.0; audit cleanup<commit_after>class GmshSvnStrategy < SubversionDownloadStrategy
  def quiet_safe_system(*args)
    super *args + ["--username", "gmsh", "--password", "<PASSWORD>"]
  end
end

class Gmsh < Formula
  desc "3D finite element grid generator with a build-in CAD engine and post-processor"
  homepage "http://geuz.org/gmsh"
  url "http://geuz.org/gmsh/src/gmsh-2.11.0-source.tgz"
  sha256 "2b6d810cc3817ac2c7f5fdd09b9f4b1ed7b93365f6e6574052c73db957a497c6"

  head "https://geuz.org/svn/gmsh/trunk", :using => GmshSvnStrategy

  bottle do
    cellar :any
    sha256 "65d05d677a3ab929ad126f6c93c9ddfb70b8be32995ce68c6920178f8359ca76" => :el_capitan
    sha256 "b039831f02f123a2cb39de1055e345dc8465483396f0d10284a9d5aa4796a46b" => :yosemite
    sha256 "8faf0079b79a7b1690154aa6df8ba8c25bf007a7ddb26bbb09b34a069814c2ee" => :mavericks
  end

  option "with-oce",               "Build with oce support (conflicts with opencascade)"
  option "without-opencascade",    "Build without opencascade support"

  depends_on :fortran
  depends_on :mpi => [:cc, :cxx, :f90, :recommended]
  depends_on "cmake" => :build
  depends_on "petsc" => :optional
  depends_on "slepc" => :optional
  depends_on "fltk" => :optional
  depends_on "cairo" if build.with? "fltk"

  if build.with?("opencascade") && build.with?("oce")
    odie "gmsh: --without-opencascade must be specified when using --with-oce"
{'fraction_non_alphanumeric': 0.11730838431090321, 'fraction_numerical': 0.1324217344368478, 'mean_word_length': 4.708418891170431, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 23, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '3117268', 'n_tokens_mistral': 1339, 'n_tokens_neox': 1162, 'n_words': 213}