aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pyenv-which-ext.rb
blob: 4dc07775d7ff4a4d1bbac8b0db0aef66a4d3cc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class PyenvWhichExt < Formula
  homepage "https://github.com/yyuu/pyenv-which-ext"
  url "https://github.com/yyuu/pyenv-which-ext/archive/v0.0.2.tar.gz"
  sha1 "72d2d3a80d6d9226276dfb897d12f7be69a12f0a"

  head "https://github.com/yyuu/pyenv-which-ext.git"

  depends_on "pyenv"

  def install
    ENV["PREFIX"] = prefix
    system "./install.sh"
  end

  test do
    shell_output("eval \"$(pyenv init -)\" && pyenv which python")
  end
end