aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authormdeletrain2014-01-09 11:07:30 +0100
committerMike McQuaid2014-01-10 23:49:32 +0000
commit53b70a6512d63cb1471301dbb0c58cb7132d528e (patch)
treef9a1b474c65978072b3d5f5d1079eebe8ec90a09 /Library
parentc41fa02b2d3d80001dc3851e3534e5496661c99c (diff)
downloadhomebrew-53b70a6512d63cb1471301dbb0c58cb7132d528e.tar.bz2
hg-flow 0.9.6
Update to maintained version. See https://bitbucket.org/yinwm/hgflow/wiki/Home. Closes #25756. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hg-flow.rb14
1 files changed, 6 insertions, 8 deletions
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