homebrew-core/Formula/hg-flow.rb
mdeletrain b2ea2ddb4f hg-flow 0.9.6
Update to maintained version.
See https://bitbucket.org/yinwm/hgflow/wiki/Home.

Closes Homebrew/homebrew#25756.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-10 23:49:32 +00:00

30 lines
776 B
Ruby

require 'formula'
class HgFlow < Formula
homepage 'https://bitbucket.org/yujiewu/hgflow'
url 'https://bitbucket.org/yujiewu/hgflow/downloads/hgflow-v0.9.6.tar.bz2'
sha1 'f4f71daee139dcee882b9ab199f14b7214167498'
head "http://bitbucket.org/yujiewu/hgflow", :using => :hg, :branch => 'develop'
depends_on :python
def install
if build.head?
(lib/'python2.7/site-packages').install 'src/hgflow.py' => 'hgflow.py'
else
(lib/'python2.7/site-packages').install 'hgflow.py' => 'hgflow.py'
end
end
def caveats; <<-EOS.undent
1. Put following lines into your ~/.hgrc
2. Restart your shell and try "hg flow".
3. For more information go to http://bitbucket.org/yinwm/hgflow
[extensions]
hgflow=
EOS
end
end