homebrew-core/Formula/pyenv-virtualenvwrapper.rb
Yamashita Yuu 8cdeab37a0 pyenv-virtualenvwrapper 20140321
Closes Homebrew/homebrew#27734.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-20 13:55:26 -05: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/v20140321.tar.gz'
sha1 '964b6a52f4c097effd03a5c3005a42dfbb413508'
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