2015-02-14 22:37:13 +00:00
|
|
|
class Curlish < Formula
|
2015-08-01 09:35:45 +00:00
|
|
|
desc "Curl wrapper that adds support for OAuth 2.0"
|
2015-02-14 22:37:13 +00:00
|
|
|
homepage "https://pythonhosted.org/curlish/"
|
|
|
|
url "https://github.com/fireteam/curlish/archive/1.22.tar.gz"
|
2015-06-14 22:03:08 +00:00
|
|
|
sha256 "6fdd406e6614b03b16be15b7b51568a7a041d2fb631be4e8caa223c0c3a28f00"
|
|
|
|
|
|
|
|
head "https://github.com/fireteam/curlish.git"
|
2015-02-14 22:37:13 +00:00
|
|
|
|
2015-06-14 22:11:45 +00:00
|
|
|
bottle do
|
2016-02-23 21:09:28 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-28 23:06:15 +00:00
|
|
|
sha256 "ce2ef65c8c9f59f11b4edf7906af5504df8573e01ee7d6f6f996fc0647285433" => :sierra
|
2016-02-23 21:09:28 +00:00
|
|
|
sha256 "5d97c4e9f5c4cd9246bc3be9e785fed094cb522c3110f1ca41408415875b08cc" => :el_capitan
|
2015-06-14 22:11:45 +00:00
|
|
|
sha256 "6cd32ca680c05b00761eb422a067316d4bb172c171f3e4015da66ed319cec3d2" => :yosemite
|
|
|
|
sha256 "f5a8b12596157c853a1f9179e4e47e9bc1259ab75e84efe61343e99bec6f62ab" => :mavericks
|
|
|
|
sha256 "b01c4e78526de36f3b4e0fcac7ec049e2a4dd9366c8d32eae5692a3e626f99a4" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-02-14 22:37:13 +00:00
|
|
|
# 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
|