homebrew-core/Formula/bazaar.rb
Daniel Lee Harple 3749ab9528 bazaar --devel 2.6b2
Closes Homebrew/homebrew#20453.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-12 20:04:22 -07:00

27 lines
670 B
Ruby

require 'formula'
class Bazaar < Formula
homepage 'http://bazaar-vcs.org/'
url 'https://launchpad.net/bzr/2.5/2.5.1/+download/bzr-2.5.1.tar.gz'
sha1 '7e2776e3aaf8fb48828026d3fc2a3047465eea5e'
devel do
url 'https://launchpad.net/bzr/2.6/2.6b2/+download/bzr-2.6b2.tar.gz'
sha1 'f10e193bc18096ee82dd923a424df2b086f95c4c'
end
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
end