aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-14 23:37:13 +0100
committerMike McQuaid2015-02-16 12:50:49 +0000
commit214619440c9d376ee82084b51fc84396fd372eaa (patch)
tree97a0859d79310ec041139fad3db197937748b353 /Library/Formula
parentd911ccbb3d1b5ea58e0e264994b021288e4c9c4a (diff)
downloadhomebrew-214619440c9d376ee82084b51fc84396fd372eaa.tar.bz2
curlish 1.22 (new formula)
Closes #36823. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/curlish.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/curlish.rb b/Library/Formula/curlish.rb
new file mode 100644
index 000000000..eee97a98e
--- /dev/null
+++ b/Library/Formula/curlish.rb
@@ -0,0 +1,16 @@
+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