aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-30 13:31:34 -0700
committerAdam Vandenberg2010-09-30 13:33:26 -0700
commit9867a32415d6256d268bd81f411e91bba1b3c3a6 (patch)
treea1feaa2a66b2ecb3644776f6873b4bc1c27af69f /Library
parente8524d9bd2b934bfb25a253ecdce5020f586b522 (diff)
downloadhomebrew-9867a32415d6256d268bd81f411e91bba1b3c3a6.tar.bz2
resty - make files +x and update caveats
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/resty.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/resty.rb b/Library/Formula/resty.rb
index 1b3737a73..3fa54c0b8 100644
--- a/Library/Formula/resty.rb
+++ b/Library/Formula/resty.rb
@@ -7,9 +7,15 @@ class Resty <Formula
def install
system "mv README.markdown README"
bin.install %w[pp resty pypp]
+ system "chmod", "a+x", "#{bin}/*"
end
- def caveats
- "The Perl printy-printer (pp) depends on JSON from CPAN."
+ 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