homebrew-core/Formula/pyenv-virtualenv.rb
Xu Cheng 665271ee9f pyenv-virtualenv 20141106
Closes Homebrew/homebrew#35189.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-22 14:28:55 +00:00

22 lines
572 B
Ruby

require "formula"
class PyenvVirtualenv < Formula
homepage "https://github.com/yyuu/pyenv-virtualenv"
url "https://github.com/yyuu/pyenv-virtualenv/archive/v20141106.tar.gz"
sha1 "5410f16c3ebb611fe7e0e9f5c808b80902201b25"
head "https://github.com/yyuu/pyenv-virtualenv.git"
depends_on "pyenv"
def install
ENV["PREFIX"] = prefix
system "./install.sh"
end
def caveats; <<-EOS.undent
To enable auto-activation add to your profile:
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
EOS
end
end