pyenv-pip-rehash 0.0.3

Closes Homebrew/homebrew#26865.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Mark Cornick 2014-02-20 13:52:13 -05:00 committed by Adam Vandenberg
parent af6f2e91ff
commit d32196e794
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
require 'formula'
class PyenvPipRehash < Formula
homepage 'https://github.com/yyuu/pyenv-pip-rehash'
url 'https://github.com/yyuu/pyenv-pip-rehash/archive/v0.0.3.tar.gz'
sha1 'c0d354c7886aed142a46dfd8cf427a7000f40896'
head 'https://github.com/yyuu/pyenv-pip-rehash.git'
depends_on 'pyenv'
def install
ENV['PREFIX'] = prefix
system "./install.sh"
end
test do
%x(pyenv hooks exec).include?('pip.bash')
end
end