homebrew-core/Formula/pyenv-virtualenvwrapper.rb
Ilya Otyutskiy 73e3fb7037 pyenv-virtualenvwrapper 20140122 (new formula)
Closes Homebrew/homebrew#27187.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-04 09:57:54 +00:00

20 lines
494 B
Ruby

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