aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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