<commit_before>require "formula"

# NOTE: Configure will fail if using awk 20110810 from dupes.
# Upstream issue: https://savannah.gnu.org/bugs/index.php?37063

class Wget < Formula
  homepage "https://www.gnu.org/software/wget/"
  url "http://ftpmirror.gnu.org/wget/wget-1.16.tar.xz"
  mirror "https://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz"
  sha1 "08d991acc80726abe57043a278f9da469c454503"

  bottle do
    revision 2
    sha1 "173036d8c100beb821b6af936a8dfc562a8dad4c" => :yosemite
    sha1 "825f0187d75ab9d42888901a43aae6104e834af9" => :mavericks
    sha1 "71e28c9e7325a85668a9bb965ce67cbcc64a550b" => :mountain_lion
  end

  head do
    url "git://git.savannah.gnu.org/wget.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "xz" => :build
    depends_on "gettext"
  end

  deprecated_option "enable-iri" => "with-iri"
  deprecated_option "enable-debug" => "with-debug"

  option "with-iri", "Enable iri support"
  option "with-debug", "Build with debug support"

  depends_on "openssl"
  depends_on "libidn" if build.include? "enable-iri"

  def install
    system "./bootstrap" if build.head?

    args = %W[
      --prefix=#{prefix}
      --sysconfdir=#{etc}
      --with-ssl=openssl
      --with-libssl-prefix=#{Formula["openssl"].opt_prefix}
    ]

    args << "--disable-debug" unless build.include? "enable-debug"
    args << "--disable-iri" unless build.include? "enable-iri"

    system "./configure", *args
    system "make", "install"
  end

  test do
    system "#{bin}/wget", "-O", "-", "www.google.com"
  end
end
<commit_msg>wget: update 1.16 bottle.<commit_after>require "formula"

# NOTE: Configure will fail if using awk 20110810 from dupes.
# Upstream issue: https://savannah.gnu.org/bugs/index.php?37063

class Wget < Formula
  homepage "https://www.gnu.org/software/wget/"
  url "http://ftpmirror.gnu.org/wget/wget-1.16.tar.xz"
  mirror "https://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz"
  sha1 "08d991acc80726abe57043a278f9da469c454503"

  bottle do
    sha1 "97196dab9c0eb7afc7060afec98fc8cda54459c2" => :yosemite
    sha1 "98af6113f187abc5613b7aa2fbc24feeaa964e4f" => :mavericks
    sha1 "d84826b6dca644b2ccf3b157fd8a092994de43e2" => :mountain_lion
  end

  head do
    url "git://git.savannah.gnu.org/wget.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "xz" => :build
    depends_on "gettext"
  end

  deprecated_option "enable-iri" => "with-iri"
  deprecated_option "enable-debug" => "with-debug"

  option "with-iri", "Enable iri support"
  option "with-debug", "Build with debug support"

  depends_on "openssl"
  depends_on "libidn" if build.include? "enable-iri"

  def install
    system "./bootstrap" if build.head?

    args = %W[
      --prefix=#{prefix}
      --sysconfdir=#{etc}
      --with-ssl=openssl
      --with-libssl-prefix=#{Formula["openssl"].opt_prefix}
    ]

    args << "--disable-debug" unless build.include? "enable-debug"
    args << "--disable-iri" unless build.include? "enable-iri"

    system "./configure", *args
    system "make", "install"
  end

  test do
    system "#{bin}/wget", "-O", "-", "www.google.com"
  end
end

{'fraction_non_alphanumeric': 0.14673398548437994, 'fraction_numerical': 0.0782581255916693, 'mean_word_length': 3.439775910364146, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 19, 'https://': 6, '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': '6503079', 'n_tokens_mistral': 1383, 'n_tokens_neox': 1228, 'n_words': 235}