homebrew-core/Formula/bazaar.rb
Jon Buffington 32b6ae37d8 bazaar 2.6.0
Closes Homebrew/homebrew#21840.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-12 22:25:59 -07:00

25 lines
585 B
Ruby

require 'formula'
class Bazaar < Formula
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
def install
# 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