aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyenv-pip-rehash.rb
blob: 431c7280397df9b33e1b4c583aac7fd3f05eb5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.4.tar.gz'
  sha1 'afbce380b888c987138f28d33fe1ba5a38cdb41a'

  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