homebrew-core/Formula/pyenv-which-ext.rb
Xu Cheng fb944d6218 pyenv-which-ext: add test
Closes Homebrew/homebrew#35499.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-03 18:41:55 +00:00

18 lines
441 B
Ruby

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