pyenv-virtualenv v20140614

Changes:

* Add `pyenv virtualenv-init` to enable auto-activation feature
* Create symlinks for executables with version suffix

Closes Homebrew/homebrew#30143.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Yamashita Yuu 2014-06-14 15:06:30 +09:00 committed by Jack Nagel
parent 12649864d6
commit 0b360ee448

View file

@ -2,8 +2,8 @@ require "formula"
class PyenvVirtualenv < Formula
homepage "https://github.com/yyuu/pyenv-virtualenv"
url "https://github.com/yyuu/pyenv-virtualenv/archive/v20140421.tar.gz"
sha1 "65a82ec70a1de8995d4238fd23becd152e25bdcf"
url "https://github.com/yyuu/pyenv-virtualenv/archive/v20140614.tar.gz"
sha1 "2ac2202f3a8da4126a94a39dd7ba709e696d4a7d"
head "https://github.com/yyuu/pyenv-virtualenv.git"
@ -13,4 +13,10 @@ class PyenvVirtualenv < Formula
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