<commit_before>class IgnitionCommon2 < Formula
  desc "Common libraries for robotics applications"
  homepage "https://bitbucket.org/ignitionrobotics/ign-common"
  url "https://bitbucket.org/ignitionrobotics/ign-common/get/b61557a7f5f6.tar.gz"
  version "1.999.999~20180329~b61557a"
  sha256 "3d5a7d08a7069d845cab034e9c7d0258e8d10fea1ee91114ea36e5e3f740e852"

  head "https://bitbucket.org/ignitionrobotics/ign-common", :branch => "default", :using => :hg

  depends_on "cmake"
  depends_on "ffmpeg"
  depends_on "freeimage"
  depends_on "gts"
  depends_on "ignition-cmake1"
  depends_on "ignition-math5"
  depends_on "ossp-uuid"
  depends_on "pkg-config"
  depends_on "tinyxml2"

  patch do
    # Fix for ffmpeg4
    url "https://bitbucket.org/ignitionrobotics/ign-common/commits/d937173602af5e6d5c22ced4a80bd0cf3f2f9fff/raw/"
    sha256 "564ca08bcd547df579a42d4f94aeae0423723b21eb67a9c9d4be2c3025f7dcb4"
  end

  def install<commit_msg>ignition-common2: fix for ffmpeg4 from merge<commit_after>class IgnitionCommon2 < Formula
  desc "Common libraries for robotics applications"
  homepage "https://bitbucket.org/ignitionrobotics/ign-common"
  url "https://bitbucket.org/ignitionrobotics/ign-common/get/e677e1af44f1684aa8519672e407d058dcf52e06.tar.gz"
  version "1.999.999~20180423~e677e1a"
  sha256 "27060461e4f6bf85c30a06beaf25fbf2a3f9105b95771a8eb49d27e21c07dd5a"

  head "https://bitbucket.org/ignitionrobotics/ign-common", :branch => "default", :using => :hg

  depends_on "cmake"
  depends_on "ffmpeg"
  depends_on "freeimage"
  depends_on "gts"
  depends_on "ignition-cmake1"
  depends_on "ignition-math5"
  depends_on "ossp-uuid"
  depends_on "pkg-config"
  depends_on "tinyxml2"

  def install
{'fraction_non_alphanumeric': 0.10217263652378156, 'fraction_numerical': 0.13564298297122723, 'mean_word_length': 5.528735632183908, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3581450', 'n_tokens_mistral': 818, 'n_tokens_neox': 721, 'n_words': 100}