diff options
| author | Yamashita Yuu | 2014-06-14 15:06:30 +0900 | 
|---|---|---|
| committer | Jack Nagel | 2014-06-14 14:09:49 -0500 | 
| commit | 5d98455c3c5483e98ac824cc29838c151eb54dc3 (patch) | |
| tree | 7080faef0ec104f86de2d107b46394e85a1d62e1 /Library/Formula/pyenv-virtualenv.rb | |
| parent | 11a6f288b442aa75949b47724d464f85dd8a132e (diff) | |
| download | homebrew-5d98455c3c5483e98ac824cc29838c151eb54dc3.tar.bz2 | |
pyenv-virtualenv v20140614
Changes:
* Add `pyenv virtualenv-init` to enable auto-activation feature
* Create symlinks for executables with version suffix
Closes #30143.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pyenv-virtualenv.rb')
| -rw-r--r-- | Library/Formula/pyenv-virtualenv.rb | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/Library/Formula/pyenv-virtualenv.rb b/Library/Formula/pyenv-virtualenv.rb index e8aa787b2..71ab1adaf 100644 --- a/Library/Formula/pyenv-virtualenv.rb +++ b/Library/Formula/pyenv-virtualenv.rb @@ -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 | 
