class Curlish < Formula desc "A curl wrapper that adds support for OAuth 2.0" homepage "https://pythonhosted.org/curlish/" url "https://github.com/fireteam/curlish/archive/1.22.tar.gz" sha256 "6fdd406e6614b03b16be15b7b51568a7a041d2fb631be4e8caa223c0c3a28f00" head "https://github.com/fireteam/curlish.git" bottle do cellar :any sha256 "6cd32ca680c05b00761eb422a067316d4bb172c171f3e4015da66ed319cec3d2" => :yosemite sha256 "f5a8b12596157c853a1f9179e4e47e9bc1259ab75e84efe61343e99bec6f62ab" => :mavericks sha256 "b01c4e78526de36f3b4e0fcac7ec049e2a4dd9366c8d32eae5692a3e626f99a4" => :mountain_lion end # curlish needs argparse (2.7+) depends_on :python if MacOS.version <= :snow_leopard def install bin.install "curlish.py" => "curlish" end test do system "#{bin}/curlish", "http://brew.sh" end end