<commit_before>class IgnitionRendering2 < Formula
  desc "Rendering library for robotics applications"
  homepage "https://bitbucket.org/ignitionrobotics/ign-rendering"
  url "https://osrf-distributions.s3.amazonaws.com/ign-rendering/releases/ignition-rendering2-2.2.0.tar.bz2"
  sha256 "e3796a7db28d53c80ded742c99b2a68d174c597f96cdaa04b8a4bf9f79d4b80a"

  bottle do
    root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
    sha256 "5cf366e952e163a9a333c9f145eedec77c34aed28af415fce5250d936ed77046" => :mojave
    sha256 "796d5f332def6e0822e2eb32427f3bd59159578007b38d98edf02fef76a02c3e" => :high_sierra
  end

  depends_on "cmake" => [:build, :test]
  depends_on "pkg-config" => [:build, :test]

  depends_on "freeimage"
  depends_on "ignition-cmake2"
  depends_on "ignition-common3"
  depends_on "ignition-math6"
  depends_on "ignition-plugin1"
  depends_on :macos => :high_sierra # c++17
  depends_on "ogre1.9"
  depends_on "ogre2.1"

  def install
    system "cmake", ".", *std_cmake_args
    system "make", "install"
  end

  test do<commit_msg>ignition-rendering2 2.3.0 (#971)<commit_after>class IgnitionRendering2 < Formula
  desc "Rendering library for robotics applications"
  homepage "https://bitbucket.org/ignitionrobotics/ign-rendering"
  url "https://osrf-distributions.s3.amazonaws.com/ign-rendering/releases/ignition-rendering2-2.3.0.tar.bz2"
  sha256 "ef77f5eec729275de5acd36c1b62a0c82e9db255396ae420a586f255af114d64"

  bottle do
    root_url "https://osrf-distributions.s3.amazonaws.com/bottles-simulation"
    sha256 "41514f4b590799f34273e5d084bd33542a7e11bbb2789ccff36750020d1799c1" => :mojave
    sha256 "900944d3032be5c1a963d3005ec6aaf48d732ffc551d31b5f724581e1d8573ca" => :high_sierra
  end

  depends_on "cmake" => [:build, :test]
  depends_on "pkg-config" => [:build, :test]

  depends_on "freeimage"
  depends_on "ignition-cmake2"
  depends_on "ignition-common3"
  depends_on "ignition-math6"
  depends_on "ignition-plugin1"
  depends_on :macos => :high_sierra # c++17
  depends_on "ogre1.9"
  depends_on "ogre2.1"

  def install
    system "cmake", ".", *std_cmake_args
    system "make", "install"
  end

  test do
{'fraction_non_alphanumeric': 0.10982925703737886, 'fraction_numerical': 0.14074757729580065, 'mean_word_length': 5.2298850574712645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 6, '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': '1758148', 'n_tokens_mistral': 1053, 'n_tokens_neox': 928, 'n_words': 127}