<commit_before>class Pgplot < Formula
  homepage "http://www.astro.caltech.edu/~tjp/pgplot/"
  url "ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot522.tar.gz"
  mirror "https://distfiles.macports.org/pgplot/pgplot522.tar.gz"
  mirror "ftp://ftp.us.horde.org/pub/linux/gentoo/distro/distfiles/pgplot522.tar.gz"
  sha256 "a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4"
  version "5.2.2"
  revision 1

  bottle do
    sha1 "01f6c78460a693cdf4f12fe3d07160924ea728d2" => :yosemite
    sha1 "d453d38628035bef7c793c433a92a6f22c6ce77f" => :mavericks
    sha1 "cefc1cac43d17dc86f6424a75bfec3a5dd63b3d9" => :mountain_lion
  end

  option "with-button", "Install libbutton"

  depends_on :x11
  depends_on :fortran

  resource "button" do
    url "http://www.ucm.es/info/Astrof/software/button/button.tar.gz"
    sha256 "a7cd0697db00858f9c16bb8fc3c7b7773a0486ac9b3c9a73633c388d1417e6d0"
    version "1.0"
  end

  # from MacPorts: https://trac.macports.org/browser/trunk/dports/graphics/pgplot/files<commit_msg>pgplot: update 5.2.2_1 bottle.<commit_after>class Pgplot < Formula
  homepage "http://www.astro.caltech.edu/~tjp/pgplot/"
  url "ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot522.tar.gz"
  mirror "https://distfiles.macports.org/pgplot/pgplot522.tar.gz"
  mirror "ftp://ftp.us.horde.org/pub/linux/gentoo/distro/distfiles/pgplot522.tar.gz"
  sha256 "a5799ff719a510d84d26df4ae7409ae61fe66477e3f1e8820422a9a4727a5be4"
  version "5.2.2"
  revision 1

  bottle do
    root_url "https://homebrew.bintray.com/bottles-x11"
    revision 1
    sha256 "edee06a049593b59c674b7a509ab797958950813d9d5809d8fde49c02bcf024e" => :yosemite
    sha256 "23fa9dbad25ab32e27001f0da418023240511d5192f5712615505ae4705d410c" => :mavericks
    sha256 "1006d1d20be0805e193eb7cffa27ae93efa3feefae8813f0baac2a340e159e66" => :mountain_lion
  end

  option "with-button", "Install libbutton"

  depends_on :x11
  depends_on :fortran

  resource "button" do
    url "http://www.ucm.es/info/Astrof/software/button/button.tar.gz"
    sha256 "a7cd0697db00858f9c16bb8fc3c7b7773a0486ac9b3c9a73633c388d1417e6d0"
    version "1.0"
  end

  # from MacPorts: https://trac.macports.org/browser/trunk/dports/graphics/pgplot/files
{'fraction_non_alphanumeric': 0.11409090909090909, 'fraction_numerical': 0.19318181818181818, 'mean_word_length': 4.807387862796833, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 5, 'lorem ipsum': 0, 'www.': 4, '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': '2668893', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1006, 'n_words': 106}