homebrew-core/Formula/resty.rb
Adam Vandenberg cb918a42bd resty 1.8
2011-04-29 10:31:43 -07:00

26 lines
585 B
Ruby

require 'formula'
class Resty < Formula
url 'https://github.com/micha/resty/tarball/1.8'
homepage 'https://github.com/micha/resty'
md5 'c99beeb500d616e6710beb05fad08285'
head 'git://github.com/micha/resty.git'
# Don't take +x off these files
skip_clean 'bin'
def install
system "mv README.md README"
bin.install %w[pp resty pypp]
end
def caveats; <<-EOS.undent
The Python printy-printer (pypp) uses the json module, available in
Python 2.6 and newer.
The Perl printy-printer (pp) depends on JSON from CPAN:
cpan JSON
EOS
end
end