homebrew-core/Formula/bazaar.rb

26 lines
585 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Bazaar < Formula
2012-02-12 18:54:28 +00:00
homepage 'http://bazaar-vcs.org/'
url 'https://launchpad.net/bzr/2.6/2.6.0/+download/bzr-2.6.0.tar.gz'
sha1 '5eb4d0367c6d83396250165da5bb2c8a9f378293'
depends_on :python
2010-08-01 22:16:52 +00:00
def install
2011-01-21 04:38:53 +00:00
# Make and install man page first
system "make man1/bzr.1"
man1.install "man1/bzr.1"
python do
# In this python block, the site-packages are already set up
system python, "setup.py", "install", "--prefix=#{prefix}"
(prefix/'man').rmtree
end
end
def caveats
python.standard_caveats if python
end
end