aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErrorific2014-09-04 11:29:10 +1000
committerTim D. Smith2014-09-23 00:01:27 -0700
commit64a464b4bf56e0fccd07252e5fbadebbf99ba1af (patch)
tree279238623ac97ac2dea1392ce8dba6faf771e8c3
parent0dff0b192935f904e9ac51ffaddca8d8f21700cf (diff)
downloadhomebrew-64a464b4bf56e0fccd07252e5fbadebbf99ba1af.tar.bz2
Update ansible.rb
The ansible ec2_* modules require the boto python module to work so adding that into the private library ansible builds.
-rw-r--r--Library/Formula/ansible.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/ansible.rb b/Library/Formula/ansible.rb
index ad806e4e9..350516049 100644
--- a/Library/Formula/ansible.rb
+++ b/Library/Formula/ansible.rb
@@ -23,6 +23,11 @@ class Ansible < Formula
sha1 'c17e41a80b3fbf2ee4e8f2d8bb9e28c5d08bbb84'
end
+ resource 'boto' do
+ url 'https://pypi.python.org/packages/source/b/boto/boto-2.32.1.tar.gz'
+ sha1 '4fdecde66245b7fc0295e22d2c2d3c9b08c2b1fa'
+ end
+
resource 'pyyaml' do
url 'https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.10.tar.gz'
sha1 '476dcfbcc6f4ebf3c06186229e8e2bd7d7b20e73'
@@ -56,7 +61,7 @@ class Ansible < Formula
ENV.prepend_create_path 'PYTHONPATH', prefix+'lib/python2.7/site-packages'
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
- res = %w[pycrypto pyyaml paramiko markupsafe jinja2]
+ res = %w[pycrypto boto pyyaml paramiko markupsafe jinja2]
res << "python-keyczar" if build.with? "accelerate"
res.each do |r|
resource(r).stage { system "python", *install_args }