homebrew-core/Formula/resty.rb

26 lines
589 B
Ruby
Raw Normal View History

require 'formula'
class Resty <Formula
2011-02-06 23:41:36 +00:00
url 'https://github.com/micha/resty/tarball/1.2'
md5 '8109fdb725dbf177a213627eb960b315'
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.markdown README"
2010-04-07 05:41:51 +00:00
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