aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-09-24 00:35:48 -0500
committerJack Nagel2014-09-24 00:35:48 -0500
commit55856f9908cb362c123392338e9a641c19bb3e25 (patch)
treeef7ded57532dcea9cde6ef4c75b39d85f6514e75
parent6913813487f2162228d0fc29a2a7529df552ed5b (diff)
downloadhomebrew-55856f9908cb362c123392338e9a641c19bb3e25.tar.bz2
zookeeper: restore optional python bindings
This reverts commit 2f58395673ee20aec8c1454a6a3ae323b38dee7a.
-rw-r--r--Library/Formula/zookeeper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb
index 26241675f..84ee67074 100644
--- a/Library/Formula/zookeeper.rb
+++ b/Library/Formula/zookeeper.rb
@@ -72,6 +72,11 @@ class Zookeeper < Formula
system "make install"
end
+ cd "src/contrib/zkpython" do
+ system "python", "src/python/setup.py", "build"
+ system "python", "src/python/setup.py", "install", "--prefix=#{prefix}"
+ end if build.with? "python"
+
cd "src/contrib/zkperl" do
system "perl", "Makefile.PL", "PREFIX=#{prefix}",
"--zookeeper-include=#{include}",