homebrew-core/Formula/resty.rb

27 lines
587 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Resty < Formula
2011-06-16 15:26:52 +00:00
url 'https://github.com/micha/resty/tarball/1.9'
homepage 'https://github.com/micha/resty'
2011-06-16 15:26:52 +00:00
md5 'a38223bb0777af3177750dd9d2f49d6d'
2011-04-29 17:31:43 +00:00
2011-05-27 05:02:55 +00:00
head 'https://github.com/micha/resty.git'
# Don't take +x off these files
skip_clean 'bin'
def install
2011-03-20 18:41:33 +00:00
system "mv README.md 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