<commit_before>require 'formula'

class Vips < Formula
  url 'http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.24.7.tar.gz'
  head 'http://www.vips.ecs.soton.ac.uk/development/7.26/vips-7.26.0-beta.tar.gz'
  homepage 'http://www.vips.ecs.soton.ac.uk/'

  if ARGV.build_head?
    md5 '5ecd1a88d5026950b05333191953b77a'
  else
    md5 '559bca1168afe62d2ee76d51ad7c91a6'
  end

  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'jpeg' => :optional
  depends_on 'libtiff' => :optional
  depends_on 'imagemagick' => :optional
  depends_on 'fftw' => :optional
  depends_on 'little-cms' => :optional
  depends_on 'pango' => :optional
  depends_on 'libexif' => :optional
  depends_on 'liboil' => :optional
  depends_on 'openexr' => :optional

  def install
    ENV.x11 # for libpng
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end<commit_msg>vips 7.26.3<commit_after>require 'formula'

class Vips < Formula
  url 'http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.26.3.tar.gz'
  homepage 'http://www.vips.ecs.soton.ac.uk/'

  md5 '1fbf164ef0da8e835a036c56ff659e8e'

  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'glib'
  depends_on 'jpeg' => :optional
  depends_on 'libtiff' => :optional
  depends_on 'imagemagick' => :optional
  depends_on 'fftw' => :optional
  depends_on 'little-cms' => :optional
  depends_on 'pango' => :optional
  depends_on 'libexif' => :optional
  depends_on 'liboil' => :optional
  depends_on 'openexr' => :optional

  def install
    ENV.x11 # for libpng
    system "./configure", "--prefix=#{prefix}"
    system "make install"
  end
{'fraction_non_alphanumeric': 0.14783653846153846, 'fraction_numerical': 0.051682692307692304, 'mean_word_length': 3.8970588235294117, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 5, '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': '3641428', 'n_tokens_mistral': 716, 'n_tokens_neox': 681, 'n_words': 122}