2009-11-25 21:29:15 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Duplicity <Formula
|
2010-11-20 21:36:00 +00:00
|
|
|
url 'http://code.launchpad.net/duplicity/0.6-series/0.6.11/+download/duplicity-0.6.11.tar.gz'
|
2009-11-25 21:29:15 +00:00
|
|
|
homepage 'http://www.nongnu.org/duplicity/'
|
2010-11-20 21:36:00 +00:00
|
|
|
md5 '1116be7aababa467336eac2092f66ab7'
|
2009-11-25 21:29:15 +00:00
|
|
|
|
|
|
|
depends_on 'librsync'
|
2010-07-08 22:41:08 +00:00
|
|
|
depends_on 'gnupg'
|
2009-11-25 21:29:15 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.universal_binary
|
|
|
|
system "python", "setup.py", "install", "--prefix=#{prefix}"
|
|
|
|
end
|
2010-07-04 05:18:26 +00:00
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
|
|
|
If you are using a non-Homebrew-built Python, you may need to add:
|
|
|
|
#{HOMEBREW_PREFIX}/lib/pythonX.Y/site-packages
|
|
|
|
to your PYTHONPATH, where "X.Y" was the version of Python this
|
|
|
|
formula was built against.
|
|
|
|
EOS
|
|
|
|
end
|
2009-11-25 21:29:15 +00:00
|
|
|
end
|