homebrew-core/Formula/duplicity.rb

25 lines
665 B
Ruby
Raw Normal View History

require 'formula'
class Duplicity <Formula
url 'http://code.launchpad.net/duplicity/0.6-series/0.6.11/+download/duplicity-0.6.11.tar.gz'
homepage 'http://www.nongnu.org/duplicity/'
md5 '1116be7aababa467336eac2092f66ab7'
depends_on 'librsync'
depends_on 'gnupg'
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
end