diff options
| author | Ilya Otyutskiy | 2014-03-04 13:17:29 +0400 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-04 09:57:54 +0000 |
| commit | fe8080bad915c6734e754202fda6ced3e6ed4b72 (patch) | |
| tree | 35228505bf0cf486d413a1f11cb0eb0ea8e3b405 /Library/Formula/pyenv-virtualenvwrapper.rb | |
| parent | 8e474625f67cacd2273cec45aa25d5eed6163697 (diff) | |
| download | homebrew-fe8080bad915c6734e754202fda6ced3e6ed4b72.tar.bz2 | |
pyenv-virtualenvwrapper 20140122 (new formula)
Closes #27187.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/pyenv-virtualenvwrapper.rb')
| -rw-r--r-- | Library/Formula/pyenv-virtualenvwrapper.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/pyenv-virtualenvwrapper.rb b/Library/Formula/pyenv-virtualenvwrapper.rb new file mode 100644 index 000000000..e8d53da43 --- /dev/null +++ b/Library/Formula/pyenv-virtualenvwrapper.rb @@ -0,0 +1,20 @@ +require 'formula' + +class PyenvVirtualenvwrapper < Formula + homepage 'https://github.com/yyuu/pyenv-virtualenvwrapper' + url 'https://github.com/yyuu/pyenv-virtualenvwrapper/archive/v20140122.tar.gz' + sha1 '7233865730c207d6e6660db906be19b88cb3ca3b' + + head 'https://github.com/yyuu/pyenv-virtualenvwrapper.git' + + depends_on 'pyenv' + + def install + ENV['PREFIX'] = prefix + system "./install.sh" + end + + test do + system "eval \"$(pyenv init -)\" && pyenv virtualenvwrapper" + end +end |
