aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authoromissis2014-08-04 21:37:01 +0200
committerMike McQuaid2014-08-05 10:33:08 +0100
commit8d074a9af26f4941fcd1c49aab4b980eb9203cb0 (patch)
tree572102c3b070d221de956064631c1820322656df /Library
parentdc5eee8153aa91f979abd45744b290ccdbf1ca1f (diff)
downloadhomebrew-8d074a9af26f4941fcd1c49aab4b980eb9203cb0.tar.bz2
duplicity: add boto library to resources.
To allow s3 support out-of-the-box.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/duplicity.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/duplicity.rb b/Library/Formula/duplicity.rb
index b96441c73..cae2cc301 100644
--- a/Library/Formula/duplicity.rb
+++ b/Library/Formula/duplicity.rb
@@ -21,6 +21,11 @@ class Duplicity < Formula
sha1 "54a34873b09c3dd3ea7090caa914908b3e0f1822"
end
+ resource "boto" do
+ url "https://pypi.python.org/packages/source/b/boto/boto-2.32.0.tar.gz"
+ sha1 "3600168823a0c37051daf24c5147e1a9ae73d28d"
+ end
+
def install
ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
@@ -30,6 +35,7 @@ class Duplicity < Formula
install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
resource("lockfile").stage { system "python", *install_args }
resource("paramiko").stage { system "python", *install_args }
+ resource("boto").stage { system "python", *install_args }
system "python", "setup.py", "install", "--prefix=#{prefix}"