<commit_before>require 'formula'

class Pike < Formula
  homepage 'http://pike.lysator.liu.se'
  url 'http://pike.lysator.liu.se/pub/pike/all/7.8.866/Pike-v7.8.866.tar.gz'
  sha1 'f3d6cc21e302576c3ac4bb5a525705dbeee2d060'
  revision 1

  depends_on "nettle"
  depends_on "gmp"
  depends_on "pcre"
  depends_on :x11 => :recommended
  depends_on 'libtiff' => :recommended

  # optional dependencies
  depends_on 'gettext'       if build.with? "gettext" or build.with? "all"
  depends_on 'gdbm'          if build.with? "gdbm"    or build.with? "all"
  depends_on 'gtk+'          if build.with? "gtk2"    or build.with? "all"
  depends_on 'mysql'         if build.with? "mysql"   or build.with? "all"
  depends_on 'sdl'           if build.with? "sdl"     or build.with? "all"
  depends_on 'sane-backends' if build.with? "sane"    or build.with? "all"
  depends_on 'pdflib-lite'   if build.with? "pdf"     or build.with? "all"<commit_msg>pike: make x11 dependency optional.<commit_after>require 'formula'

class Pike < Formula
  homepage 'http://pike.lysator.liu.se'
  url 'http://pike.lysator.liu.se/pub/pike/all/7.8.866/Pike-v7.8.866.tar.gz'
  sha1 'f3d6cc21e302576c3ac4bb5a525705dbeee2d060'
  revision 1

  depends_on "nettle"
  depends_on "gmp"
  depends_on "pcre"
  depends_on :x11 => :optional
  depends_on 'libtiff' => :recommended

  # optional dependencies
  depends_on 'gettext'       if build.with? "gettext" or build.with? "all"
  depends_on 'gdbm'          if build.with? "gdbm"    or build.with? "all"
  depends_on 'gtk+'          if build.with? "gtk2"    or build.with? "all"
  depends_on 'mysql'         if build.with? "mysql"   or build.with? "all"
  depends_on 'sdl'           if build.with? "sdl"     or build.with? "all"
  depends_on 'sane-backends' if build.with? "sane"    or build.with? "all"
  depends_on 'pdflib-lite'   if build.with? "pdf"     or build.with? "all"
{'fraction_non_alphanumeric': 0.1336870026525199, 'fraction_numerical': 0.041379310344827586, 'mean_word_length': 3.154185022026432, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5795265', 'n_tokens_mistral': 803, 'n_tokens_neox': 769, 'n_words': 169}