diff options
| author | Xu Cheng | 2015-01-03 16:55:00 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-03 18:41:55 +0000 |
| commit | 90ae6f29ee6e69608640bba6dadb0bd1a9f25d11 (patch) | |
| tree | 2c1781848159ee9edc7943fb9fe1b9df802ee9c5 /Library | |
| parent | 6c4eb48ee6bb083f19f19d2755f67e9c3528938e (diff) | |
| download | homebrew-90ae6f29ee6e69608640bba6dadb0bd1a9f25d11.tar.bz2 | |
pyenv-pip-rehash: modernize
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pyenv-pip-rehash.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/pyenv-pip-rehash.rb b/Library/Formula/pyenv-pip-rehash.rb index 431c72803..c1c3ec280 100644 --- a/Library/Formula/pyenv-pip-rehash.rb +++ b/Library/Formula/pyenv-pip-rehash.rb @@ -1,20 +1,18 @@ -require 'formula' - class PyenvPipRehash < Formula - homepage 'https://github.com/yyuu/pyenv-pip-rehash' - url 'https://github.com/yyuu/pyenv-pip-rehash/archive/v0.0.4.tar.gz' - sha1 'afbce380b888c987138f28d33fe1ba5a38cdb41a' + homepage "https://github.com/yyuu/pyenv-pip-rehash" + url "https://github.com/yyuu/pyenv-pip-rehash/archive/v0.0.4.tar.gz" + sha1 "afbce380b888c987138f28d33fe1ba5a38cdb41a" - head 'https://github.com/yyuu/pyenv-pip-rehash.git' + head "https://github.com/yyuu/pyenv-pip-rehash.git" - depends_on 'pyenv' + depends_on "pyenv" def install - ENV['PREFIX'] = prefix + ENV["PREFIX"] = prefix system "./install.sh" end test do - %x(pyenv hooks exec).include?('pip.bash') + %x(pyenv hooks exec).include?("pip.bash") end end |
