blob: b64b8502d534de8e47f344aeea71e9c72140eb64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require 'formula'
class Resty < Formula
url 'https://github.com/micha/resty/tarball/1.9'
homepage 'https://github.com/micha/resty'
md5 'a38223bb0777af3177750dd9d2f49d6d'
head 'https://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
|