From 53b70a6512d63cb1471301dbb0c58cb7132d528e Mon Sep 17 00:00:00 2001 From: mdeletrain Date: Thu, 9 Jan 2014 11:07:30 +0100 Subject: hg-flow 0.9.6 Update to maintained version. See https://bitbucket.org/yinwm/hgflow/wiki/Home. Closes #25756. Signed-off-by: Mike McQuaid --- Library/Formula/hg-flow.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/hg-flow.rb b/Library/Formula/hg-flow.rb index 5b5c35b01..6cb9d60a9 100644 --- a/Library/Formula/hg-flow.rb +++ b/Library/Formula/hg-flow.rb @@ -1,21 +1,19 @@ require 'formula' class HgFlow < Formula - homepage 'https://bitbucket.org/yinwm/hgflow' - url 'https://bitbucket.org/yinwm/hgflow/downloads/hgflow-v0.4.pyhgflow-v0.4.py' - sha1 '517a4e42b7a7ed68140903d4687180aa175aa3ef' + 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/yinwm/hgflow", :using => :hg, :branch => 'default' + head "http://bitbucket.org/yujiewu/hgflow", :using => :hg, :branch => 'develop' depends_on :python def install if build.head? - cd 'src/hgflow' - system 'python', 'setup.py', 'install', "--prefix=#{prefix}" + (lib/'python2.7/site-packages').install 'src/hgflow.py' => 'hgflow.py' else - # That strange name seems like a bug. https://bitbucket.org/yinwm/hgflow/issue/24 - (lib/'python2.7/site-packages').install 'hgflow-v0.4.pyhgflow-v0.4.py' => 'hgflow.py' + (lib/'python2.7/site-packages').install 'hgflow.py' => 'hgflow.py' end end -- cgit v1.2.3