homebrew-core/Formula/pyenv-virtualenvwrapper.rb
2015-01-03 18:41:55 +00:00

18 lines
482 B
Ruby

class PyenvVirtualenvwrapper < Formula
homepage "https://github.com/yyuu/pyenv-virtualenvwrapper"
url "https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140609.tar.gz"
sha1 "04c36c836cbf1284f9d3bb5c442f40712022b532"
head "https://github.com/yyuu/pyenv-virtualenvwrapper.git"
depends_on "pyenv"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
test do
shell_output("eval \"$(pyenv init -)\" && pyenv virtualenvwrapper")
end
end