class Httpstat < Formula desc "Curl statistics made simple" homepage "https://github.com/reorx/httpstat" url "https://github.com/reorx/httpstat/archive/v1.1.3.tar.gz" sha256 "8ba3a8f0550468a634dce45d45dc03375e5dcdedea4c8edc8c26a326d929af04" bottle :unneeded depends_on :python if MacOS.version <= :snow_leopard def install bin.install "httpstat.py" => "httpstat" end test do assert_match "HTTP", shell_output("#{bin}/httpstat https://github.com") end end