homebrew-core/Formula/resty.rb
Adam Vandenberg bfa9f8d506 resty 1.7
2011-04-01 15:54:20 -07:00

25 lines
584 B
Ruby

require 'formula'
class Resty < Formula
url 'https://github.com/micha/resty/tarball/1.7'
md5 '578e7564f5efe7ad89d7279fc0e52890'
head 'git://github.com/micha/resty.git'
homepage 'https://github.com/micha/resty'
# 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