homebrew-core/Formula/curlish.rb
Baptiste Fontaine c2bc4ad25d curlish 1.22 (new formula)
Closes Homebrew/homebrew#36823.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-16 12:50:49 +00:00

16 lines
405 B
Ruby

class Curlish < Formula
homepage "https://pythonhosted.org/curlish/"
url "https://github.com/fireteam/curlish/archive/1.22.tar.gz"
sha1 "45e9a7d92b5f70adf257cda3f9f0f205eef0245b"
# 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