665271ee9f
Closes Homebrew/homebrew#35189. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
22 lines
572 B
Ruby
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
|