aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-04-30 23:37:44 +0100
committerMike McQuaid2014-05-06 19:34:01 +0100
commit360b11b79ed0a5eefc67bbe603e5059cc93c8282 (patch)
tree1b8ecf9e5db72daa60b3306e96741078dd273316 /Library/Formula
parent0aeb86d4bfdd04814e246ee4c6ab1987ad24d93f (diff)
downloadhomebrew-360b11b79ed0a5eefc67bbe603e5059cc93c8282.tar.bz2
duplicity: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/duplicity.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/duplicity.rb b/Library/Formula/duplicity.rb
index 6e56d3fa8..4a23450de 100644
--- a/Library/Formula/duplicity.rb
+++ b/Library/Formula/duplicity.rb
@@ -5,7 +5,7 @@ class Duplicity < Formula
url 'http://code.launchpad.net/duplicity/0.6-series/0.6.23/+download/duplicity-0.6.23.tar.gz'
sha1 '0b8664d55c24957b3b19e903c0d69673f2bfa166'
- depends_on :python
+ depends_on :python if MacOS.version <= :snow_leopard
depends_on 'librsync'
depends_on 'gnupg'
@@ -22,6 +22,8 @@ class Duplicity < Formula
end
def install
+ ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
+
ENV.universal_binary if build.universal?
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'