From 90ae6f29ee6e69608640bba6dadb0bd1a9f25d11 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sat, 3 Jan 2015 16:55:00 +0800 Subject: pyenv-pip-rehash: modernize --- Library/Formula/pyenv-pip-rehash.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3