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:
parent
12649864d6
commit
0b360ee448
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue